Yoav,
  This is the context file I added to 
$CATALINA_HOME/conf/[engine]/[host]/app.xml,
 
  <Context path = ""> </Context>

This is my workers2.properties file

[uri:/myapp/*]
worker=ajp13:localhost:8009


This is the error message,

Forbidden

You don't have permission to access / on this server.

Thanks,
Peter


"Shapira, Yoav" <[EMAIL PROTECTED]> wrote:

>
>Hi,
>You need to tell Tomcat you want app to be served from context path=""
>(the empty string.  Not null and not "/").  To do so, you need to:
>
>- Declare a Context element for your app, either in server.xml, or in
>$CATALINA_HOME/conf/[engine]/[host]/app.xml, or in META-INF/context.xml
>inside your app's WAR file if you're using one.  In that Context
>element, specify path="".
>
>- Remove the ROOT webapp that ships with Tomcat, clear out the contents
>of $CATALINA_HOME/work, and restart Tomcat.
>
>Read the Context configuration reference page if you're not sure what
>I'm talking about.
>
>Yoav Shapira http://www.yoavshapira.com
>
>
>>-----Original Message-----
>>From: Peter O'Reilly [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, November 23, 2004 12:53 PM
>>To: "Tomcat Users List"
>>Subject: Deployment of a JSP app
>>
>>To all,
>>  Currently, the only way I can get to my application, which starts
>with a
>>index.jsp is by appending on the directory.
>>
>>Like so.. http://www.xxx.com/app
>>
>>
>>Anyone know how I can set up my app so that if i visit,
>>
>>http://www.xxx.com
>>
>>I will be able to see it?
>>
>>I tried making the struts-examples my websites app directory and I get
>the
>>same error message...
>>
>>
>>********************************************************
>>Not Found
>>
>>The requested URL /welcome.do was not found on this server.
>>
>>*********************************************************
>>
>>(Apache 2.0.52, Tomcat 5.5.4)
>>
>>Thanks
>>Peter
>>
>>
>>
>>__________________________________________________________________
>>Switch to Netscape Internet Service.
>>As low as $9.95 a month -- Sign up today at
>>http://isp.netscape.com/register
>>
>>Netscape. Just the Net You Need.
>>
>>New! Netscape Toolbar for Internet Explorer
>>Search from anywhere on the Web and block those annoying pop-ups.
>>Download now at http://channels.netscape.com/ns/search/install.jsp
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business 
>communication, and may contain information that is confidential, proprietary 
>and/or privileged.  This e-mail is intended only for the individual(s) to whom 
>it is addressed, and may not be saved, copied, printed, disclosed or used by 
>anyone else.  If you are not the(an) intended recipient, please immediately 
>delete this e-mail from your computer system and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to