htaccess single file protection doesn't work
-
Hello!
I want to protect the login page of my WordPress blog using Apache.
According to http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html this is the code i put on my .htaccess placed on the root of my website:
<Files wp-login.php> Order deny,allow Deny from all AuthType Basic AuthName "bliah blah" AuthUserFile /home/mhd/www.digitalking.it/htdocs/protlogin/.htpasswd Require valid-user </Files>Then when i visit http://www.digitalking.it/wp-login.php it simple show a page of my web hosting http://img191.imageshack.us/img191/7165/loginee.jpg instead of prompting for authentication and then go to login page if successfull.
The topic ‘htaccess single file protection doesn't work’ is closed to new replies.