1. Set up Apache
Open your apache config file C:\xampp\apache\conf\httpd.conf. Make sure the following lines are uncommented:
Include "conf/extra/httpd-proxy.conf"
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
2. Open your proxy config file C:\xampp\apache\conf\extra\httpd-proxy.conf. Edit it to match the following:
<IfModule proxy_module>
<IfModule proxy_http_module>
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Allow from 127.0.0.1
</Proxy>
ProxyBlock some-website-you-want-to-block.com another-website-you-want-to-block.com
</IfModule>
</IfModule>
3. Restart Apache
Open your apache config file C:\xampp\apache\conf\httpd.conf. Make sure the following lines are uncommented:
Include "conf/extra/httpd-proxy.conf"
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
2. Open your proxy config file C:\xampp\apache\conf\extra\httpd-proxy.conf. Edit it to match the following:
<IfModule proxy_module>
<IfModule proxy_http_module>
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Allow from 127.0.0.1
</Proxy>
ProxyBlock some-website-you-want-to-block.com another-website-you-want-to-block.com
</IfModule>
</IfModule>
3. Restart Apache
No comments:
Post a Comment