International PHP Conference Munich 2021

Case 1: only public files served

If your server does not have any content that is not restricted by password or ip based access control, there is no need for these configuration options. If your web server does not allow you to do redirects, or the server does not have a way to communicate to the PHP binary that the request is a safely redirected request, you can enable the cgi.force_redirect ini directive. You still have to make sure your PHP scripts do not rely on one or another way of calling the script, neither by directly nor by redirection

Redirection can be configured in Apache by using AddHandler and Action directives (see below).

add a note add a note

User Contributed Notes 1 note

mio2007 at gmail dot com
13 years ago
Please, make hrefrences to previos & netx page of this manual on this page under text of chapter (not oly under comments) as it was on a previus pages. Thx, GL.
To Top