Bonus: Proxy Secrets
Ssh don’t tell anyone but here are some of my secrets to running proxies and save you money!
Block bad traffic – Bandwidth costs, if you are targeting young American school children you don’t want the Chinese army running denial of service attack on the pentagon through your proxy. Quite often it is simply easier to block geographical areas entirely from your proxy for example, china or Russian. The simplest way to do this is via htaccess, bad IP lists are regularly created simply upload the file and your done. Check the Web Development Blog on how-to block/allow traffic based on the visitors IP address
Disable Hot Linking – Some people will attempt to link directly to your proxified pages rather then going through your home page, not only does this make monitoring the users difficult they are not being exposed to our advertising on the home page. It makes sense then to redirect such traffic to our homepage.