You're saying that if you make your DocumentRoot "webapps/ROOT" that Apache doesn't serve content in that directory? What error message does Apache display?


The ROOT webapp is "special" as far as Tomcat is concerned.

John

On Wed, 28 May 2003 17:28:57 +0200, Johannes Lietz <[EMAIL PROTECTED]> wrote:

This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

<VirtualHost *>
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
<Location "/*.jsp">
JkUriSet worker ajp13:localhost:8009
</Location>
<Location ~ /*/servlet/*>
JkUriSet worker ajp13:localhost:8009
</Location>
...
</VirtualHost>

This makes Apache serve all static content, and it works for all webapps but the ROOT webapp because Apache will not look for static content in /usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes



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





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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



Reply via email to