[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 03-03-2007, 02:00 AM   #1 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

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

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

Is the source if that can help anyone to debug me :P

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 V5 Soon!
beaver6813 is offline  
Old 03-03-2007, 02:02 AM   #2 (permalink)
NamePros Member
 
Join Date: Jan 2007
Posts: 171
0.00 NP$ (Donate)

crazyryan is on a distinguished road


you need to keep nph- in the name, so nph-whatever
__________________
Proxy
crazyryan is offline  
Old 03-03-2007, 02:03 AM   #3 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

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.com V5 Soon!
beaver6813 is offline  
Old 03-03-2007, 02:07 AM   #4 (permalink)
NamePros Member
 
Join Date: Jan 2007
Posts: 171
0.00 NP$ (Donate)

crazyryan is on a distinguished road


Not sure, you could try using mod_rewrite.
__________________
Proxy
crazyryan is offline  
Old 03-03-2007, 04:15 AM   #5 (permalink)
tm
Senior Member
 
tm's Avatar
 
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,409
374.65 NP$ (Donate)

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, 04:18 AM   #6 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

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 :P

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 V5 Soon!
beaver6813 is offline  
Old 03-03-2007, 06:19 AM   #7 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
 
Join Date: Feb 2006
Posts: 2,801
56.00 NP$ (Donate)

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
Quote:
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, 06:22 AM   #8 (permalink)
tm
Senior Member
 
tm's Avatar
 
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,409
374.65 NP$ (Donate)

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


Quote:
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, 11:34 AM   #9 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

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 :P

I guess i'll have to learn perl to make modifications to this script ^^
__________________
-Beaver6813.com V5 Soon!
beaver6813 is offline  
Old 03-03-2007, 12:53 PM   #10 (permalink)
tm
Senior Member
 
tm's Avatar
 
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,409
374.65 NP$ (Donate)

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, 12:55 PM   #11 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough


Quote:
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 :P
__________________
-Beaver6813.com V5 Soon!
beaver6813 is offline  
Old 03-03-2007, 01:14 PM   #12 (permalink)
Eating Pie
 
iNod's Avatar
 
Join Date: Nov 2004
Location: Canada
Posts: 2,289
126.05 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 08:02 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85