NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page CGI Proxy -- Weird Error

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-03-2007, 03:00 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




CGI Proxy -- Weird Error


Hey,

I used the reccomended installer to install cgi proxy on my server, http://install.xav.com/?p=cgiproxy , after installation i opened up the installed nph-proxy.pl file and replaced it all with the updated version released from jmarshall.com.. however whenever i rename it to anything like proxy.pl or nphproxy.pl it throws me an internal server error :S
????: NamePros.com http://www.namepros.com/programming/300602-cgi-proxy-weird-error.html

http://www.jmarshall.com/tools/cgipr...y-beta.cgi.txt

Is the source if that can help anyone to debug me

I've tried just manually installing it and it just gives me a white page... although when i run it in ssh it works fine :/

Thanks!

Sam Cleaver
beaver6813 is offline  
Old 03-03-2007, 03:02 AM   #2 (permalink)
NamePros Regular
Join Date: Jan 2007
Posts: 207
crazyryan is on a distinguished road
 



you need to keep nph- in the name, so nph-whatever
crazyryan is offline  
Old 03-03-2007, 03:03 AM THREAD STARTER               #3 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




Why didnt i think of that! I salute you sir! Rep++; Out of interest is there anyway not to have it?
beaver6813 is offline  
Old 03-03-2007, 03:07 AM   #4 (permalink)
NamePros Regular
Join Date: Jan 2007
Posts: 207
crazyryan is on a distinguished road
 



Not sure, you could try using mod_rewrite.
crazyryan is offline  
Old 03-03-2007, 05:15 AM   #5 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Yeah, .htaccess should work.

BTW, why are you using CGI Proxy? The new PHP proxy is better (IMO) than CGI.
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 03-03-2007, 05:18 AM THREAD STARTER               #6 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




Hmm, it kinda works... but it does some dodgy things whilst you're using it, if you type google.com it goes there, click images and it says some error thing, then go to myspace.com and it gives you some huge alert
????: NamePros.com http://www.namepros.com/showthread.php?t=300602

EDIT: I'm using CGI Proxy because i've had numerous issues with PHP Proxy, im currently using PHP Proxy on my proxy for beaver6813.com but its very very shaky with myspace and sites that use weird javascript, CGI Proxy on the otherhand (the latest version) has full javascript support. PHP Proxy when i tried to install the latest release also kept telling me that viewing the index.php file was forbidden every now and then, when its permissions said otherwise ^^
beaver6813 is offline  
Old 03-03-2007, 07:19 AM   #7 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Originally Posted by tm
BTW, why are you using CGI Proxy? The new PHP proxy is better (IMO) than CGI.
I've always liked CGI Proxy more than PHProxy because of how easy it is to edit the layout and things. All you have to do is copy the form HTML and use it on any page whereas PHProxy has bunch of crap on it's index page that you need. (I haven't looked at the newer version, so I am assuming it's still similar to that.)
Dan is offline  
Old 03-03-2007, 07:22 AM   #8 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



Originally Posted by Dan
I've always liked CGI Proxy more than PHProxy because of how easy it is to edit the layout and things. All you have to do is copy the form HTML and use it on any page whereas PHProxy has bunch of crap on it's index page that you need. (I haven't looked at the newer version, so I am assuming it's still similar to that.)
It's quite a bit less php but I agree it's a lot harder to customize than CGI Proxy. Thing is though, the amount of server resources it saves is ginormous. (hah, havn't used that word in a while ).
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 03-03-2007, 12:34 PM THREAD STARTER               #9 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




The newest version for PHProxy... even though it repeatedly didn't work as i said above for me, the guy has created a index.inc.php file that seems to be slightly easier to modify.. hes totally recoded it all :/ Which in a way is good and in a way is bad

I guess i'll have to learn perl to make modifications to this script ^^
beaver6813 is offline  
Old 03-03-2007, 01:53 PM   #10 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



You should really contact your host if a script like that won't work...
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 03-03-2007, 01:55 PM THREAD STARTER               #11 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




Originally Posted by tm
You should really contact your host if a script like that won't work...
I am my host :-} And it does work.. but because its like version 0.70 beta or whatever its really shaky and often decides to go on strike
beaver6813 is offline  
Old 03-03-2007, 02:14 PM   #12 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
CGI takes up 10 times more resources than PHProxy does, thats one reason. CGI Scripts are harder to install because of all the different settings, it can work on one server and not on the next. CGI Errors are also hard to fix because they do not give detailed errors, just Internal Server Error, unlike PHP which gives a more detailed error.

Personally I stay away from CGI because it is very CPU intensive.. Very hard on VPS's and other things which is why alot of hosts block CGI Based Forums.

- Steve
__________________
I feel old.
iNod is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 04:48 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger