Today,
- Created a wpad.dat file for Web Proxy Autodiscovery Protocol so clients get proxy auto configuration, the contents are:
- Updated DNS records to include http://wpad.luisaranguren.com
- Updated .htaccess for url shorten and redirection
- Updated from squid 2.7 to 3.1 that includes support for IPv6
function FindProxyForURL(url, host) { return "PROXY luisaranguren.com:3128; DIRECT"; }
[root@monsterxx9 etc]# cat /srv/http/.htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^autodiscover.luisaranguren.com$
RewriteRule ^(.*)$ https://luisaranguren.com/Autodiscover/Autodiscover.php [R=301,L]
RewriteCond %{HTTP_HOST} ^wpad.luisaranguren.com$
RewriteRule ^(.*)$ http://luisaranguren.com/wpad.dat [R=301,L]