Unix questions - CGIProxy returns http://127.0.0.1

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > September 2005 > CGIProxy returns http://127.0.0.1





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CGIProxy returns http://127.0.0.1
pr0f3550r

2005-09-04, 5:51 pm

I've managed to have a few shell accounts in the last years and I never
had any problems installing and running Jim Marshall's CGIProxy
<http://jmarshall.com/tools/cgiproxy>.
However with my last toy, a FreeBsd shared account, I can load the
script's start page fine, but all links and forms point to
http://127.0.0.1 rather than the location of the script.
Running a loop through the server's environmental variables it turns
out that $REMOTE_ADDR, $HTTP_HOST and $SERVER_ADDR all point to
127.0.0.1 and look to be the culprit.
However I have entered the correct values myself and tried to hack the
script in various locations but I had no success.
Has anybody a clue of where and how to modify the script?
Thanks

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com