www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject Re: mod_setenvif/7215: CGI needs actual HTTP request header values.
Date Thu, 08 Feb 2001 19:08:21 GMT
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

Synopsis: CGI needs actual HTTP request header values.

State-Changed-From-To: open-closed
State-Changed-By: slive
State-Changed-When: Thu Feb  8 11:08:14 PST 2001

I am a little confused about why you need this, since
CGI scripts already have access to all the HTTP request
header fields.  For example, if I send an X-Test: 123
request header, then Apache sets the environment variable
HTTP_X_TEST to the value 123 and makes it available to
your CGI scripts.

In any case, if you really need the ability to set
environment variables manually based on the request 
headers, please look into using mod_rewrite which has
this capability.

Thanks for using Apache!

View raw message