Sriganesh Ananth wrote:
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 4/24/2009 3:27 AM, André Warnier wrote:
Sriganesh Ananth wrote:
What also still smells fishy is the line
Alias /test /var/www/testapp/
Why is it there ? What does it achieve, that the following 2 lines do not ?
JkMount /*.do ajp13
Hi
I am experiencing a very peculiar issue when migrating from Apache
Tomcat 4.1.x (Apache 1.3.27) to 5.5.23 (Apache 2.2.3) on Red hat Linux
5.
The issue is Tomcat 5.5.x looks for a servlet file under server’s
physical file system and reporting HTTP 404 error rather than going to
the servlet
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com]
Subject: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet
file in file system and reporting 404 error rather mapping in web.xml
The issue is Tomcat 5.5.x looks for a servlet file under server's
physical file system
Chuck, Thank you for your reply.
I didn't copy 4.1 server.xml but instead build it fresh on 5.5
provided server.xml.
Following is the server.xml (removed comments and commented lines)
---
Server
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com]
Subject: Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching
servlet file in file system and reporting 404 error rather mapping in
web.xml
Host name=192.168.1.23 debug=1 appBase=/var/www/testapp
unpackWARs=true
The
Chuck, you rock!!!
I changed the appBase to /var/www for Host, added testapp in the
Context docBase and restarted the tomcat and it worked!!!
I will work on migrating the Context elements to the META-INF folder
as suggested by you.
Again, thank you very much for your help on this and you have
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
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