note 23561 added to security.hiding
| From: | m1tk4 at hotmail dot com | Date: | Mon, 22 Jul 2002 21:53:14 +0000 |
| Subject: | note 23561 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33386@lists.php.net to get a copy of this message | ||
I usually do:
<code>
RewriteEngine on<br>
RewriteOptions inherit<br>
RewriteRule (.*)\.htm[l]?(.*) $1.php$2 [nocase]<br>
</code>
in .htaccess. You'll need mod_rewrite installed for this .
--
http://www.php.net/manual/en/security.hiding.php
http://master.php.net/manage/user-notes.php?action=edit+23561
http://master.php.net/manage/user-notes.php?action=delete+23561
http://master.php.net/manage/user-notes.php?action=reject+23561