Serve static files from Apache 2.2.9 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux