restart serverSOFTWARE: apachecd apache2/bin ; sudo ./apachectl -k restart restart apache server MORE INFO:htpasswdSOFTWARE: apachehtpasswd -c .filename username To create the user/pass file for apache when creating protected directories do like this on command line:
So for example to create a pass file called ".myapp-htpasswd with a username called "george" you'd do:
Dump the resulting file in a non-browse-able directory up above your public_html and then call it from your .htaccess directives for the given directory. Or set up in webmin etc. MORE INFO: http://www.yolinux.com/TUTORIALS/LinuxTutorialApacheAddingLoginSiteProtection.html |