Skip to content

Commit ce973d9

Browse files
author
Derick Rethans
committed
- MFH for:
add comment for IIS users
1 parent a686702 commit ce973d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sapi/cgi/cgi_main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,8 @@ binary accessible somewhere in your web tree, people will be able to circumvent\
492492
this is to define doc_root in your php.ini file to something other than your\n\
493493
top-level DOCUMENT_ROOT. This way you can separate the part of your web space\n\n\
494494
which uses PHP from the normal part using .htaccess security. If you do not have\n\
495-
any .htaccess restrictions anywhere on your site you can leave doc_root undefined.\n\
495+
any .htaccess restrictions anywhere on your site you can leave doc_root undefined.\n\n\n\
496+
If you are running IIS, you may safely set cgi.force_redirect=0 in php.ini.\n\
496497
\n");
497498

498499
/* remove that detailed explanation some time */

0 commit comments

Comments
 (0)