| Running CGIProxy on IIS 6.0 |
|
| Thursday, 16 November 2006 | ||||
Page 2 of 2 Installation StepsBefore we start, remember that you need to change http://www.443proxy.com that included in any url with your own website url. There are a few files we need to download before we started:
Start Internet Information Service (IIS) Manager and open your website properties. Next, we must make sure that Execute Permission on Home Directory tab is at least Script Only to allow CGIProxy to run. Then click on Configuration button to setup new extension mapping that point .cgi to be execute by Perlis.dll on your ActivePer installation folder. That's it, we are done. Remember to change http://www.443proxy.com text on the code to your own website, although I don't mind the traffics you may send to my way . Hotlink Protection Note: Only do this step if your site have a custom web page to start proxy access. To prevent others using your proxy without going through your custom web page, open nph-proxy.cgi and find "# Present the initial entry form" and insert this code:
if($ENV{'HTTP_REFERER'} =~ /^http:\/\/www.443proxy.com/) }
See this image for the exact location. SSL Access on CGIProxy
Thankfully we can get this two package from one installation of Win32 OpenSSL . After Win32OpenSSL installation, we must run C:\OpenSSL\perl\5.8\Net_SSLeay\install.bat (or find the file on your Win32 OpenSSL installation folder) to activate NET::SSLeay package on our server. Last step is to change $RUNNING_ON_SSL_SERVER option on nph-proxy.cgi to 1 and make sure we access nph-proxy.cgi through https://. Please note that I haven't been able to run CGIProxy on SSL mode because FreeSSL phone authentication is broken. They phone me but their automated phone audio is so soft, I can't hear anything (yes, I even yell something on the phone to start the procedure). I'll update this after I manage to pass the phone authentication procedure. I hope this article can save you time trying to setup CGIProxy. Give it a try and start offering anonymous web-based proxy service to your visitors. Update: SSL installation step is working. Now our web-based proxy is running on SSL secure mode. Update: I just remember that you must copy C:\Perl\site\lib\Net\SSLeay.pm to C:\Perl\site\lib\Net\SLeay.pm in order to fix error on Net::SSLeay. Must be a typo on installation script. |
||||
| Last Updated ( Thursday, 14 December 2006 ) | ||||
| < Prev | Next > |
|---|

