note 51182 added to security.cgi-bin
| From: | phil dot ross at gmail dot com | Date: | Tue, 22 Mar 2005 23:56:22 +0000 |
| Subject: | note 51182 added to security.cgi-bin | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86808@lists.php.net to get a copy of this message | ||
In response to grange at club-internet dot fr:
There are a couple of errors in the mod_rewrite directives given. I found that the following works:
RewriteEngine on
RewriteCond %{ENV:REDIRECT_STATUS} !200
RewriteRule ^cgi-bin/php.cgi - [F]
I removed the = from the RewriteCond and took out the leading / from the RewriteRule.
----
Manual Page -- http://www.php.net/manual/en/security.cgi-bin.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51182
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51182&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51182&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51182&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51182&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51182&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51182&report=yes
Search -- http://master.php.net/manage/user-notes.php