Daniel St. Jules Posted July 18, 2008 Share Posted July 18, 2008 Hello, I'm trying to setup Apache to relay any requests for media files such as images and video using the proxy module. So, to do this, I need to modify the httpd.conf to include the proxy module, then add something along the lines of? ProxyRequests Off ProxyPreserveHost On ProxyPass .*/.(jpe?g|gif|bmp|png)$ http://0.0.0.0:81/ ProxyPassReverse / http://0.0.0.0:81/ This was something I had whiped up, basing it on the idea that I could simply use conditions like an .htaccess file, but I have no idea if that's true or not as I haven't been able to find a read on what is permitted, or the "syntax" of the httpd.conf file. So, I was wondering if someone could confirm whether or not this is infact possible, or if I'm going about this all wrong. Any help would be greatly appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.