Hi Andre,

I got Forbidden - You don't have permission to access
/test/WEB-INF/web.xml on this server.

Under httpd.conf, just before VirtualHost I have following to deny all
from accessing WEB-INF folder.

Httpd.conf configuration:

# Globally deny access to the WEB-INF directory
<LocationMatch '.*WEB-INF.*'>
       deny from all
</LocationMatch>
<VirtualHost …>
DocumentRoot /var/www/testapp
Alias /test /var/www/testapp/
JkMount /*.do ajp13
JkMount /*.jsp ajp13
</VirtualHost>

Do you still smell something fishy here?

Regards
Sriganesh

On Thu, Apr 23, 2009 at 2:41 PM, André Warnier <a...@ice-sa.com> wrote:
> Sriganesh Ananth wrote:
>>
>> Chuck, you rock!!!
>
> That part, I tend to agree.
>
>>
>> I changed the appBase to "/var/www" for Host, added "testapp" in the
>> Context docBase and restarted the tomcat and it worked!!!
>>
> But this part, and what follows :
>
> Httpd.conf configuration:
> <VirtualHost …>
> DocumentRoot /var/www/testapp
> Alias /test /var/www/testapp/
> JkMount /*.do ajp13
> JkMount /*.jsp ajp13
> </VirtualHost>
>
> I definitely find bizarre.
>
> Can you try the following URL in your browser :
>
> http://192.168.1.23/test/WEB-INF/web.xml
>
> and let us know what you get ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to