note 37047 added to security.hiding
| From: | michiel at rn2 dot php dot net | Date: | Fri, 31 Oct 2003 20:14:01 +0000 |
| Subject: | note 37047 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59599@lists.php.net to get a copy of this message | ||
On my apache setup w/ php as a CGI program, I found that the AddType approach didn't work
(dumps the php source); using ForceType (mentioned above) lead to an Internal Server Error, but
finally this .htaccess file did work for me:
----
# Make all PHP code look like html
Action php-script /cgi-bin/php
AddHandler php-script .html
----
Manual Page -- http://www.php.net/manual/en/security.hiding.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37047
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37047&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37047&report=yes
Search -- http://master.php.net/manage/user-notes.php