add a documentroot for your static files in your configuration, something
like :

DocumentRoot "C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/<your-webapp-id>"


David Williams-15 wrote:
> 
> Hello All,
> 
> I'm trying to set up Apache 2.2.9 web server on Windows to front, in this
> case, a Tomcat environment.  What I would like to do is direct certain
> file
> types, for example .css files, to Apache and proxy the rest to Tomcat. 
> I've
> got Apache proxing all but the .css files using the following.
> 
> ProxyRequests Off
> 
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> 
> ProxyPassMatch ^(/.*\.css)$ !
> 
> ProxyPass /myapp http://example.com:port/myapp
> ProxyPassReverse /myapp http://example.com:port/myapp
> 
> Now what I need to do is direct the .css files to Apache and that's where
> I'm not sure what to do next.  Does anyone have any suggestions?
> 
> Thanks for your help,
> 
> David
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Serve-static-files-from-Apache-2.2.9-question-tp19850061p20042560.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to