.htaccess tutorial

htaccess Elite


Protect single File

Security in htaccess: htpasswd, 401 Authentication

Protect single File

Postby produke » 03 Oct 2006 01:45

Code: Select all
<Files login.php>
AuthName "Prompt"
AuthType Basic
AuthUserFile /home/askapache.com/.htpasswd
Require valid-user
</Files>
User avatar
produke
 
Posts: 242
Joined: 25 Sep 2006 04:48

Return to Security and Authentication