Sunday, February 23, 2014

How to redirect entire domain to another domain

Add the line below in .htaccess of www.yourdomain.com/ :

Redirect 301 / http://www.anotherdomain.com/

Wednesday, February 19, 2014

Squid Proxy errors/warnings and solutions

"WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hostname'."  --- add the visible_hostname into the /etc/squid/squid.conf