Tag: .htaccess
-
.htaccess based authentication with apache
Put this in .htaccess file AuthUserFile path_goes_hereAuthGroupFile /dev/nullAuthName EnterPasswordAuthType Basicrequire valid-user File with usernames and passwords can be generated with htpasswd path username utility from command line, or use the following line to display hashed pairs in console htpasswd -n username