httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nasir Zia <nasir...@gmail.com>
Subject [users@httpd] password protected files
Date Thu, 21 Jan 2010 12:14:24 GMT
AOA,

how can i password protect a single file with htaccess. i am using below
technique but it not works for me

AuthName "test"
AuthType Basic
AuthUserFile /path to file/.htpasswd
<Files "test.php">
  require valid-user
</Files>

Nasir

Mime
View raw message