The Platform for Proxies
Written By: Keldorn Firecam
Date: 2009-10-08
Before making a proxy web site you need to acquire a web address name we suggest to use NameCheap, and also get appropiate web hosting. When you have acquired hosting and a domain name, you'll have to edit and set up your proxy script.
There are three most commonly used proxy scripts named, CGIProxy, PHProxy and Glype. Modifying the template of the scripts can take a few minutes or a few hours,depending on what your doing to the template. This will require you to have some small knowledge of PHP or HTML if you wish to customize your template. But you can download fully ready to go PHProxy templates at freeproxytemplates.com . However this cannot be done with Glype since its not released under a Open source licence. You will have to install your template seperatly. You can download Glype template from many places such as glypetheme.com and Glypedesigns.com.
Hosting
For hosting we recommend to use a VPS or dedicated server since proxy scripts are more resource intensive for the CPU and consume more Bandwidth and RAM. If you use shared hosting for your proxy, you undoubtly will get your hosting terminated within a few days of running it. My proxies use about 5 Terabytes a month but for a new proxy webmaster its not common to start using tens of Gigabytes a month to several hundred Gigabytes a month easily. So I suggest to visit www.spry.com , www.hivelocity.net , www.theplanet.com www.fdcservers.net, or www.wdservers.com and get atleast a VPS. Those are all based in United States. Howeer you may want to get a server in the United Kingdom or somewhere else US web proxy sites are a dime a dozen. Some people look for proxy sites based in other countries.
Configuration of your web Proxy:
For Editing PHP source code and HTML we recommend to download Notepad++ and use that.
After you download a proxy template, you will have to edit the template file or config.php file and add your own Adsense ID. It is very essential to add, since you need to generate revenue from the web proxy site to keep it online, unless you are running it for charity. So get your Google adsense pub ID in your account or likewise you can regenerate new adcode in your panel and put them in the appropiate places in the template.
Glype
In Glype there are options you can change for file size limits, and other things. For Glype upload the admin.php file from the extra folder in your download and upload it to your root directory along with Glype and access it. You will have to make sure that the settings.php file is set to CHMOD 775 so that the admin.php file can write to it to update your configuation. There are quite a bit of configuation to change in Glype. Also make sure you rename Browse.php to a new name as "browse.php" is a phrase gotcha that will get it blocked. So open up the file /includes/init.php and go to the line at the top of the file where you see.
// Script name (change this if you rename browse.php) define('SCRIPT_NAME','browse.php');
And change the name, then take the file itself, "browse.php" and rename that.
CGIProxy
In CGIProxy you will have to edit the options manually with Notepad++ , the options span down for a quite a while, there is many blocks of comments to read on each options. You should not have much trouble understanding how to configure it.
How to solve Internal server error with CGIProxy?
If you got this error this is why, Since CGIProxy is wrote in the Perl programming language you will have to upload in FTP by ASCII method. Do not upload in Binary format, also you will have CHOMD the cgiproxy script 775 or 777 for it to work.
PHProxy
PHProxy does not have many options but it is lighter on the server. Its configuation is in index.php at the beginning of the file where you see "//CONFIGURABLE OPTIONS". Unfourtantly its configuation is a bit *uncommented* I guess the author of this script believed in open source but didn't believe in having other people understand what the code does.. But the max file size takes Bytes as a perimeter.
// // CONFIGURABLE OPTIONS // $_config = array ( 'url_var_name' => 'q', 'flags_var_name' => 'hl', 'get_form_name' => '____pgfa', 'basic_auth_var_name' => '____pbavn', 'max_file_size' => -1, // Takes bytes 'allow_hotlinking' => 0, // 0 for off, 1 for on 'upon_hotlink' => 1, 'compress_output' => 0 );
If you wish to change the file size limit. Change the max_file_size to a number in BYTES. You can find a Bytes to MB calculator at T1shopper.com
Youtube Plugin for PHProxy: - We wrote a Plugin for PHProxy to work with Youtube.
Put ads on the proxified Pages - We wrote yet another plugin for putting ads on the proxy pages.
What is the best script?
From experince; Glype we would say is the best. t does work exceptionally well for javasacript parsing if you put on the option to override Javascript. Its also quite easy to make plugins for it.
Slight Warning for Glype 1.1: If you have the option for Javascript override on with Glype 1.1, you cannot put Ads on your proxy pages that use Javascript (Like Popunders). As they will get proxied. Thats how good the javascript parsing in Glype is. So you'll have to decide the tradeoff, on one hand you'll have good javascript parsing and your users will be happy that the sites work better. On the other hand you will make less revenue by having less options of monetization.
PHProxy: This script is actually not being developed anymore and is unsupported. It is light on the server resources. But it cannot login into places that use SSL logins as the script will just show a blank page. The script is quite outdated.
CGIProxy: This script uses Perl. Which is a language I have not taken a liking too. I can't say much about it. It seems to use alot of CPU. You need Mod_perl installed on your server to run this properly. Else your CPU will be gone with just a few visitors. Also modifying the template is not an easy task. Perl is not a language that had outputting html for user presentations in mind. But it is a good and more powerfull is the sense that Perl is closer to the CPU, and a language that was designed for modifying text with its powerfull regural expressions. It does suit well for a proxy script if you can get it running with mod_perl and want to learn perl.
Tips:
Try to keep the word "proxy" out from your url and you html source code. As this word is a Phrase gotcha that gets your site automatically blocked by filters like Dansguardian or BESS.
Dont be worried if you are using 20 GB a day or more. That is normal for a proxy site. As it was said before make sure you have appropiate hosting and you will not have to worry about bandwidth.
Block bad traffic. Some traffic such as China is not profitable to serve. What will happen chinese will eat up all your bandwidth and RAM cuasing your server to slow down while you will make only cents. In long run by the end of the month your server bill for $200 may come up yet you only earned $20 on your ad revenue. You have now lost $180.
Submit your site to Tech-faq.com/proxy.shtml and this site hidefinder.com/submit.php for quick fast traffic.
Use Yahoo Answers for promoting your proxy.
Start a Google and/or Yahoo Group and put the promotion bar on your proxy to get people subscribed to your group so you can email them new proxy sites you make. People are always searching for new proxy sites.
All of these scripts may take "BYTES" as a perimeter for File Size (If your editing the options from source code). You can use this tool to cacluate Bytes into Megabytes.
http://t1shopper.com/tools/calculate/
Unfortunatlely some spammers will target your proxy site and use it for email spamming with places like webmail.cox.net . You have to block all WEBMAILS from being accessed from your proxy. This will require to look up the webmails Name server information and blcok its IP address from your Firewall. In Linux you can you use > Nslookup and Iptables to accomplish this.
To get the IP of webmail.cox.net go into SSH via your server with Putty. Do this command.
> nslookup webmail.cox.net
It will return some IP addresses.
Next to block them do this for each IP
> iptables -A INPUT -s xx.xxx.xx.xx -J DROP
Then save your iptables.
> service iptables save
> service iptables restart
You will have to do this for all the known webmails. Searching on Google For "Webmails" will find a majority of them.
Article © Hidefinder.com 2009. DO NOT COPY.
Quite often I would come across these forum topics at various places like proxy.org, where a person writes that they think there PHProxy or Glype proxy works with Youtube and that a plugin i
I've noticed url.php file sometimes getting slow on this site, simply can't have that! I've fixed this by enabled memcached into the redirect url.php file. So if
Do you Smell that? Its that new website smell you have been waiting for! Just joking, the owner of hidefinder, has been busy these past nearly 2 weeks, designing and programming the ne
When you open the CGIProxy script with notepad you may become overwhelmed at the sheer about code in it. That can be a problem if you are trying to figure out how to put avertisemen
CGIProxy is a script that acts as a HTTP or FTP proxy. It was created to help people over come censorship of information and to surf anonymously online. By installing it on a server, it can
