Hello TC users all, I am attempting to employ: 
mod_jk/mod_proxy_http/mod_proxy_ajp to proxy requests from my httpd to TC. I 
have a .war deployed to accept the requests. I am having some issues with the 
CSS content not getting rendered. Reading the TC doco I came across the 
following Red Highlighted warning foung at 
http://tomcat.apache.org/connectors-doc/reference/apache.html:

Warning: If Apache httpd and Tomcat are configured to serve content from the 
same filing system location then care must be taken to ensure that httpd is not 
able to serve inappropriate content such as the contents of the WEB-INF 
directory or JSP source code.

To ensure the above does not happen I have put the following <Location> 
directive in my httpd.conf:

# Globally deny access to the WEB-INF directory
<LocationMatch '.*WEB-INF.*'>
       AllowOverride None
       deny from all
</LocationMatch>

Never-the-less I suspect something is amiss and possible overlapping Apache 
DocumentRoot and TC appBase directories could be causing an issue. Does the 
following example constitute overlapping directories in terms of the TC doco? 
(see link above).

DocumentRoot="/home/someuser/www"

appBase="/home/someuser/www/web"

docBase="/somedeployedwar"

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

Reply via email to