]> granicus.if.org Git - php/commit
This is much better. With FORCE_CGI_REDIRECT turned on by default for compilation,
authorShane Caraveo <shane@php.net>
Fri, 1 Mar 2002 01:58:20 +0000 (01:58 +0000)
committerShane Caraveo <shane@php.net>
Fri, 1 Mar 2002 01:58:20 +0000 (01:58 +0000)
commitcd18533a101d526703169a70c1d4b05ccd108e3f
tree19d2f70ff3fb73320a442ab37a09f3612704f386
parentaae381de6655083819ff2b07721046da478390de
This is much better.  With FORCE_CGI_REDIRECT turned on by default for compilation,
we can now define this in the ini file.  So it can be turned on for apache, turned
off for IIS which does not have a redirect issue.  Alternately, a different 'REDIRECT_STATUS'
environment var can be defined in case some web server out there needs it.

new ini vars
cgi.force_redirect 0|1
cgi.redirect_status_env ENV_VAR_NAME
sapi/cgi/cgi_main.c