httpd-users mailing list archives

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

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


View raw message