| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() | 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.com - Web Developer Extraordinaire! |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() | Why didnt i think of that! I salute you sir! Rep++; Out of interest is there anyway not to have it?
__________________ -Beaver6813.com - Web Developer Extraordinaire! |
| |
| | #5 (permalink) |
| Senior Member Join Date: Nov 2005 Location: on a oil rig just off Ireland
Posts: 1,408
![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | THREAD STARTER #6 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() | 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.com - Web Developer Extraordinaire! |
| |
| | #7 (permalink) | ||||
| Buy my domains. Join Date: Feb 2006
Posts: 2,796
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #8 (permalink) | ||||
| Senior Member Join Date: Nov 2005 Location: on a oil rig just off Ireland
Posts: 1,408
![]() ![]() ![]() ![]() ![]() |
).
__________________ 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. | ||||
| |
| | THREAD STARTER #9 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() | 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.com - Web Developer Extraordinaire! |
| |
| | #10 (permalink) |
| Senior Member Join Date: Nov 2005 Location: on a oil rig just off Ireland
Posts: 1,408
![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | THREAD STARTER #11 (permalink) | ||||
| NamePros Regular Join Date: May 2005 Location: England
Posts: 392
![]() ![]() ![]() |
__________________ -Beaver6813.com - Web Developer Extraordinaire! | ||||
| |
| | #12 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |