security/cgi-bin.xml
6a5b42e0d34c76890fd96be2b0b57516363b4c8a
...
...
@@ -84,9 +84,9 @@
84
84
these configuration options. If your web server does not allow
85
85
you to do redirects, or the server does not have a way to
86
86
communicate to the PHP binary that the request is a safely
87
-
redirected request, you can specify the option <link
88
-
linkend="configure.enable-force-cgi-redirect">--enable-force-cgi-redirect</link>
89
-
to the configure script. You still have to make sure your PHP
87
+
redirected request, you can enable the
88
+
<link linkend="ini.cgi.force-redirect">cgi.force_redirect</link>
89
+
ini directive. You still have to make sure your PHP
90
90
scripts do not rely on one or another way of calling the script,
91
91
neither by directly <filename
92
92
role="php">http://my.host/cgi-bin/php/dir/script.php</filename>
...
...
@@ -216,9 +216,8 @@ AddHandler php-script .php
216
216
<para>
217
217
To get PHP to handle <envar>PATH_INFO</envar> and
218
218
<envar>PATH_TRANSLATED</envar> information correctly with this
219
-
setup, the PHP parser should be compiled with the <link
220
-
linkend="configure.enable-discard-path">--enable-discard-path</link>
221
-
configure option.
219
+
setup, the <link linkend="ini.cgi.discard-path">cgi.discard_path</link>
220
+
ini directive has to be enabled.
222
221
</para>
223
222
</sect1>
224
223

225
224