Code:
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
<Files fileToProtect.php> AuthUserFile /path/to/.htpasswd AuthName "Restricted Area" AuthType Basic <Limit GET POST> require valid-user </Limit> </Files>
--------------------------------------------------------
Code
--------------------------------------------------------
<Files *.php> ForceType application/x-httpd-php4 </Files> <ifModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
--------------------------------------------------------