Apache Forwarding Proxy

Apache Forward Proxy

Enable modules

proxy 
proxy_http 
proxy_connect 

Proxy does not require password

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyRequests On
ProxyVia On

Proxy requires password

ProxyRequests On
ProxyVia On

<Proxy *>
 Order deny,allow
 Allow from all
 AuthType Basic
 AuthName "Password Required"
 AuthUserFile password.file
 Require valid-user
</Proxy>

 

Leave a Reply