note 49124 deleted from security.hiding by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 10:14:08 +0000 |
| Subject: | note 49124 deleted from security.hiding by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196920@lists.php.net to get a copy of this message | ||
Note Submitter: dimitar at bastun dot net
----
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