Bruno-

box:
login as root to the box
tomcat:
 login with tomcat-user (such as admin or manager) that already has 
admin,manager privs

M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "bcochofel" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, October 30, 2006 10:19 AM
Subject: Re: mod_jk configuration


> 
> Well I've tried adding DirectoryIndex index.html index.htm index.jsp but no
> good...
> My Apache configuration has this and all the links work with or without the
> /
> Does jk.cong overrides my apache conf?
> 
> 
> Christopher Schultz-2 wrote:
>> 
>> Bruno,
>> 
>>> when I try
>>> http://localhost/jsp-examples http://localhost/jsp-examples  (without the
>>> /)
>>> I get this error:
>>> 
>>> Forbidden
>>> You don't have permission to access /jsp-examples on this server.
>>> Additionally, a 403 Forbidden error was encountered while trying to use
>>> an
>>> ErrorDocument to handle the request.
>> 
>> It looks like you have Indexes turned off for this directory/location in
>> httpd.conf, or you don't have an index.html (or whatever) file there to
>> display.
>> 
>> In that case, it's not surprising that Apache httpd is generating this
>> error (note that it's httpd, not Tomcat, that is generating the error).
>> 
>> If you want Tomcat to respond to requests for the URI with no trailing
>> slash, you'll have to map that explicitly.
>> 
>>> Here's my jk.conf (/etc/apache2/conf.d/jk.conf):
>>> 
>>> http://www.nabble.com/file/3907/jk.conf jk.conf 
>> 
>> I'm guessing that was a copy/paste error. Let me guess what you have in
>> jk.conf:
>> 
>> JkMount /jsp-examples/*       worker1
>> and/or
>> JkMount /jsp-examples/*.jsp   worker1
>> 
>> Since "/jsp-examples" does not match "/jsp-examples/*", your mappings
>> are failing. You'll need to add something like:
>> 
>> JkMount /jsp-examples         worker1
>> 
>> Hope that helps,
>> -chris
>> 
>> 
>>  
>> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/mod_jk-configuration-tf2539505.html#a7076449
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to