Skip to main content

Apache as Proxy Server

More
18 years 1 week ago #18102 by Bublitz
I wan't to use apache as a proxy server. I have it working at the moment.

The way I have it setup it will block ALL internet requests. What I want to add then is a couple sites that are ok i.e intranet sites. I can't find a statment to use along site "ProxyBlock *" to allow some sites. Its easier this way then to specify all domains on the internet lol.

<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Deny from all
Allow from (lan)
</Proxy>
</IfModule>
ProxyBlock *

The Bublitz
Systems Admin
Hospice of the Red River Valley
More
18 years 6 days ago #18141 by ELECTRONICS
Concept rocks man,

Explain in detail let me try it, since I am not an expert in this.

DIL.....................!
More
18 years 3 days ago #18237 by Bublitz
Replied by Bublitz on topic Re: Apache as Proxy Server
Add these lines in you apache config and apache works as a proxy server. Except the last line that will block all url requests.

<IfModule mod_proxy.c>
ProxyRequests On
<Proxy *>
Order deny,allow
Deny from all
Allow from (lan)
</Proxy>
</IfModule>
ProxyBlock *

It actually works. Only problem is not much control on acls for urls like squid. So it won't work for me

The Bublitz
Systems Admin
Hospice of the Red River Valley
Time to create page: 0.117 seconds