The web_app module must slap the trailing "/" on the deployment path.


This is my examples app taken from the WebAppInfo page.

======================
Application Name:      "examples"
Root URL Path:         "/examples/"
Local Deployment Path: "/path/catalina/webapps/examples"
Configuration Details: "Application ID: 2"
Connection:            "conn" (details)
Deployed:              TRUE
======================

And this is how I deployed it: 

WebAppDeploy     examples  conn  /examples

I also get a 404 when I leave off the trailing slash in the URL.  I think it
happens because /examples is not in Apache's document root.  If it were,
Apache would see I requested a directory and issue a redirect to /examples/,
which is the standard behavior for web servers (that I've seen).  That's why
you can give the same URL to tomcat and get a directory listing (or index
page).

That's my theory so far.

-Mark



-----Original Message-----
From: Young Jun Kim [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 4:35 AM
To: [EMAIL PROTECTED]
Subject: apache-tomcat4 connection via WARP


i have apache+tomcat4 with WARP connector(mod_webapp.so).
everything works fine except one thing...

when i tried
http://hostname/examples/
default webpage (such as index.jsp, index.html) is displayed correctly.
but, when i tried
http://hostname/examples  <-- no slash(/)
i got internal error (500 error).

the strange thing is when i tried http://hostname:8080/examples
(when directly access to tomcat4) default page is displayed correctly.

other directories not connected to tomcat work fine.

does anyone know what's wrong this configuration? is this apache problem? or

tomcat4 problem?


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to