diff options
| author | Shane Caraveo <shane@php.net> | 2002-03-01 06:48:27 +0000 |
|---|---|---|
| committer | Shane Caraveo <shane@php.net> | 2002-03-01 06:48:27 +0000 |
| commit | 2f512dbd18e61837b345630f56fdad4c634b9c71 (patch) | |
| tree | ea7da2498b9aa5aae76eacc8519503c8711bdd44 /php.ini-dist | |
| parent | db73f9095348a1d3bdf110a8afb3746769354850 (diff) | |
| download | php-git-2f512dbd18e61837b345630f56fdad4c634b9c71.tar.gz | |
add stuff here also.
Diffstat (limited to 'php.ini-dist')
| -rw-r--r-- | php.ini-dist | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist index 4b3b0046a1..20a79593a0 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -360,6 +360,10 @@ default_mimetype = "text/html" ;include_path = ".;c:\php\includes" ; The root of the PHP pages, used only if nonempty. +; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root +; if you are running php as a CGI under any web server (other than IIS) +; see documentation for security issues. The alternate is to use the +; cgi.force_redirect configuration below doc_root = ; The directory under which PHP opens the script using /~usernamem used only @@ -374,6 +378,17 @@ extension_dir = ./ ; disabled on them. enable_dl = On +; cgi.force_redirect is necessary to provide security running PHP as a CGI under +; most web servers. Left undefined, PHP turns this on by default. You can +; turn it off here AT YOUR OWN RISK +; **You CAN safely turn this off for IIS, in fact, you MUST.** +; cgi.force_redirect = 1 + +; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape +; (iPlanet) web servers, you MAY need to set an environment variable name that PHP +; will look for to know it is OK to continue execution. Setting this variable MAY +; cause security issues, KNOW WHAT YOU ARE DOING FIRST. +; cgi.redirect_status_env = ; ;;;;;;;;;;;;;;;; ; File Uploads ; |
