httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David <dns...@gmail.com>
Subject [users@httpd] Serve static files from Apache 2.2.9 question
Date Tue, 07 Oct 2008 02:35:11 GMT
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

Mime
View raw message