Features/Automatic Proxy Settings: Difference between revisions

Line 40: Line 40:
Steps:
Steps:


* Create .htaccess file and add the following content:  AddType application/x-ns-proxy-autoconfig .pac
* Create .htaccess file and add the following content:   
 
  AddType application/x-ns-proxy-autoconfig .pac


* Create PAC file and add the following content:
* Create PAC file and add the following content:
Line 50: Line 52:
* Upload both file to the same location:
* Upload both file to the same location:


mv proxy.pac /var/www/proxy.pac
  mv proxy.pac /var/www/proxy.pac
mv .htaccess /var/www/.htaccess
  mv .htaccess /var/www/.htaccess


* Restart apache /etc/init.d/apache2 restart
* Restart apache /etc/init.d/apache2 restart