Hi, Wiggins d'Anconia:

> This is going to depend on the web server, as it is the software parsing
> the HTTP request, it just passes execution to the CGI and sets up the
> environment before hand. So it is up to the web server software to set
> in the environment the extra headers, you should check the documentation
> for it. It appears that Apache, if you use it, should be passing through
> the additional headers with an 'HTTP_' prepended but there is no
> guarantee.  Docs:
> 
> http://hoohoo.ncsa.uiuc.edu/cgi/env.html
> 
> "In addition to these, the header lines received from the client, if
> any, are placed into the environment with the prefix HTTP_ followed by
> the header name. Any - characters in the header name are changed to _
> characters. The server may exclude any headers which it has already
> processed, such as Authorization, Content-type, and Content-length. If
> necessary, the server may choose to exclude any or all of these headers
> if including them would exceed any system environment limits."
> 
> Which is linked from:
> 
> http://httpd.apache.org/docs/howto/cgi.html#environmentvariables
> 
> Which is (obviously) specifically for Apache.

Yes, I'm using Apache, and your solution works! Thank you very much!

Best Regards,
Shu Cao

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to