Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: direct connection works, proxy does not.

by belize (Deacon)
on Feb 03, 2001 at 04:36 UTC ( [id://56160]=note: print w/replies, xml ) Need Help??


in reply to Re: direct connection works, proxy does not.
in thread direct connection works, proxy does not.

I did just as you suggested with the following results:

1. With a direct connection, all variables are passed to the .cgi

2. Working through WinProxy, none of the variables are getting passed to the cgi from the form.

What is interesting is that with a direct connection, the HTTP_REFERER variable is form.html while through WinProxy, the HTTP_REFERER variable is the test.cgi? Yet both are being submitted from the same page.

Also, the HTTP_HOST ENV through WinProxy was the IP Address while with a direct connection it was coming through with the domain name.

So in the configuration of the cgi, I used a relative address for the cgi (../cgi-local/test.cgi) instead of the absolute http address, an now WinProxy is passing the variables. Not sure what is happening, but at least it now works.

Thanks for all the insight and suggestions.

  • Comment on Re: Re: direct connection works, proxy does not.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://56160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-26 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found