httpd: add comment explaining why SERVER_NAME etc is not set.
This commit is contained in:
parent
9f57cf6604
commit
cbb4e61dd5
@ -1386,6 +1386,8 @@ static void send_cgi_and_exit(
|
||||
if (referer)
|
||||
setenv1("HTTP_REFERER", referer);
|
||||
setenv1("HTTP_HOST", host); /* set to "" if NULL */
|
||||
/* setenv1("SERVER_NAME", safe_gethostname()); - don't do this,
|
||||
* just run "env SERVER_NAME=xyz httpd ..." instead */
|
||||
|
||||
xpiped_pair(fromCgi);
|
||||
xpiped_pair(toCgi);
|
||||
|
Loading…
Reference in New Issue
Block a user