Put your message here! Contact me for more information
 
 








 

I just updated the scripts on www.lastproxy.com, both the CGI (nph-proxy) and PHP (php-proxy.php) flavors. While installing the php-proxy.php was just an upload,go, and forget, configuring the nph-proxy.cgi script on 1and1 is quite tricky. I called up the 1and1 support staff and the guy seems to be really nice, but clueless about what to do.

Well, to get nph-proxy.cgi to work on 1and1, you have to do these following

1. Upload nph-proxy.cgi as ASCII
2. Chmod the script to 755 using any FTP client (e.g. FileZilla)
3. The default #! usr/bin/perl line of the script works just fine with 1and1 so you don’t have to worry about it.
4. To actually get the script working, change the extension from .cgi to .nph
5. Point your browser to the script, bam, things just work!

For some servers, they use the prefix nph- to signify the PERL engine to not parse the header (nph stands for non-parse-header). My guess is that 1and1 server configs to use the extension .nph to notify the PERL engine instead.

I hope that this saves you some hassles getting nph-proxy.cgi to work. Last of all, check out my proxy page at http://www.lastproxy.com
LastProxy logo


 

18 Responses to “1and1 And nph-proxy.cgi



9:44 pm
December 6, 2006
#3238

Does 1and1 hosting allow proxy sites?




7:17 pm
December 7, 2006
#3420

@mighty fin,
depends, for personal use, yes. Otherwise, they will suspend your account for “CPU-abuse”.




1:28 am
December 28, 2006
#11194

Hmmm…Your PHP proxy works with MySpace. What version of PHP Proxy did you use? Please email me Slinkey1@gmail.com




David
7:01 pm
January 4, 2007
#12231

hey how did you get your php version to work with myspace? and other sites requiring login? please let me know, thanks




7:48 pm
January 4, 2007
#12237

Michael and David,
Well, I am using the regular PHP proxy script but I did make some changes to the code so that it will show the URL entry form all the time. Maybe that’s why it’s working with MySpace.




michael S.
9:23 pm
January 4, 2007
#12241

i have 1&1 servers, and want to host a public proxy, if i only use the php version, it should be easier on the cpu right? therefore i may not get suspended? i am right?




10:42 pm
January 4, 2007
#12244

@Michael S.

I am not sure about the CPU-consumption of the PHP version of the proxy script since I haven’t done any kind of benchmarking or stress-tests. 1and1 oversells alot and their catch is CPU usage. They will suspend your account faster than you know it!

My story: I called up 1and1 and talked to the guy about CPU-usage before putting up my proxy on their server. The rep said it would be okay. 2 weeks later, they hacked into my scripts to kill the proxy scripts (both the CGI AND the PHP version) by putting die() at the top of the scripts. Ironically, their ToS or Privacy or whatever agreement explicitly states that 1and1 won’t touch anything in the customer’s account. Then I called and complained about the site was down, now 1and1 said that their admins had move my account to a separate server because I have abused the system resource too much. Go figure — they don’t notify you at all.

I wouldn’t bet on the fact that PHP uses less CPU than CGI and host a public website on 1and1 server. It’s very likely that they will suspend your account.

Go with a VPS, I think a $40.00/month VPS should be able to handle the traffic quite well. But again, check their ToS as some host companies explicitly forbid proxy sites.

Best!




michael S.
8:57 am
January 5, 2007
#12264

hi, thanks for the help. what host would you recomend for a VPS? i would like something in the united states preferably. im getting tired of my 1&1 server being in the UK. anyway, just curious, how much revenue does your proxy generate? if i do get a VPS thats a significant cost every month, and how much of that do you gain back with ads? anyway, i did put a public proxy up, but i have a signup form, so i can monitor my users incase it gets outa hand.

thanks!




10:03 am
January 5, 2007
#12265

thanks




4:46 pm
January 5, 2007
#12293

@Michael S.

Well, I actually rented out a dedicated server myself at DediWebhost so I can’t recommend you any good VPS providers. However, you should check out the http://www.WebHostingTalk.com forum for VPS deals.

My revenue for the Proxy was decent, like $3 to $5 a day with AdSense. But after my Adsense got suspended & my switch to YPN, the CTR is terrible. I just loose interests in the proxy business as the revenue is so small compared to the cost of having a server. But I guess if you do good ads placement, your CTR can be higher (mine was around 1 to 3% when I was still with Google Adsense — pathetic, I know but it’s better than nothing. With YPN, I don’t even have a CTR! it’s that bad)

Best!




michael S.
5:06 pm
January 5, 2007
#12294

why did your adsense account get suspended? are you not allowed to place adsense ads on proxies? i have looked at adsense myself, and it seems like it is pretty good. if i could even get $1 a day, id be happy, and id get a VPS and host a proxy, but im not sure i could get that. i am just new to all this, and i only have a small amount of codeing knowledge, so i dont know if i could come up with a good template or not. what would you charge to make me a page layout like your proxy’s? id just need the layout, i could do minor changes myself. email me at michaelselivanoff (at) gmail dotcom

thanks so much for all your help.

-michael




5:23 pm
January 5, 2007
#12297

Well, I was young and stupid at the time. I had my first Adsense account and I was clicking it myself (I know!). They suspended this first account. I then applied for another account for http://www.LastProxy.com, got approved. Then about 3 weeks after that, they found out that the new account somehow connected to my previously banned account, thus Google suspended the new account too. Nothing I can do about.

If you do good ads placement and utilize CPM ads and Pop-unders in the proxified-page, you should have no problems making $1.00 a day.

Sure, I can help you a bit with the proxy template. Just let me know :)




michael S.
11:30 pm
January 5, 2007
#12304

hi, i have been looking at VPS, and alot of them dont allow proxies, i may have to go with a dedicated server. im just curious how much you would charge me for the page design, i really like lastproxy.com. something like that would be fine. again, im new to all of this, and im not really proficient at coding yet, so i dont know if i could handle anything like that myself yet.

thanks,




michael S.
10:18 am
January 7, 2007
#12434

okay, im kinda getting a site together. i just have one thing im not sure how to do, how do i put ads on the pages that people load with the proxy? i saw that you have it on lastproxy.com, but im not sure how to go about it.

thanks,

michael




michael S.
9:54 pm
January 19, 2007
#14081

hi, i kinda have a site now. http://www.michaelselivanoff.com/myproxy i used your cgi/php switcher. i cant seem to get the cgi to work correctly. can you look at the site, and see whats wrong with the cgi version, and give me any tips or suggestions? thanks a ton!

—michael




michael S.
10:03 pm
January 19, 2007
#14082

just got the cgi working, so nvm on that, but any suggestions are very much appreciated.




1:07 pm
March 13, 2007
#18525

I cant seem to get the latest version of cgiproxy installed on 1and1. when i try to access it i just get a blank page. could you provide some help?




damq
9:17 am
March 31, 2008
#136318

awesome!!!

thank you ;)




 

Leave a Reply