note 49124 added to security.hiding
| From: | dimitar at bastun dot net | Date: | Mon, 17 Jan 2005 17:13:46 +0000 |
| Subject: | note 49124 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83500@lists.php.net to get a copy of this message | ||
In case there are an Internal Server error(error 500) using the old code below in an .htaccess file,
you can replace it with the code modification that must solve the problem.
Old code
-----------
<Files ~ "^[^\.]+$">
ForceType application/x-httpd-php
</Files>
Replacement of the code above(code modification)
------------------------------------------------------------
AddHandler server-parsed .php
<Files ~ "^[^\.]+$">
SetHandler application/x-httpd-php
</Files>
Regards,
Dimitar Tanev
----
Manual Page -- http://www.php.net/manual/en/security.hiding.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49124
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49124&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49124&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49124&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49124&report=yes&reason=useless+example
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49124&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49124&report=yes
Search -- http://master.php.net/manage/user-notes.php