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