I am using squid as proxy server for blocking patterns in a url (like: block .jpg,.bmp, etc). Now I want to route the whole traffic from my 2nd server (which runs apache) through the proxy server.
So, when a visitor accesses a .jpg file for example, the proxy server blocks the request.
- Server #1 runs squid3
- Server #2 runs apache2
How can i configure apache for routing all traffic through a specific proxy?