What do I have to put in an .htaccess file and .htpasswd file so that it asks me for my username and password to access a directory?
I know it's got to be something simple, but the more I looked at apache.org the more I got turned around clicking on different links for directives and what not.
Can someone tell me what it is I have to do to make that work. And if in my .conf file for the virtual host I have
Code:
<Directory "/srv/blah blah blah - path to the virtual hosts root directory>
Options None
Allowoverride None
Order allow,deny
Allow from all
</Directory>
Will it negate any htaccess file because of the Allowoverride None in the yast.conf file that holds my virtual hosts?
Thank you for your help, I want to password protect the clients log and webalizer files as well as be able to put it in my faqs for future clients.
Much appreciated.