Some useful HTML snippets
.htaccess Security
HTACCES FILE
--------------------
AuthName "Admin"
AuthType Basic
AuthUserFile /home/../path to domain root/../htpasswd.txt
AuthGroupFile /dev/null
Require valid-user
<-blank line
---------------------
HTPASSWD FILE (located at /home/../path to domain root/../htpasswd.txt)
----------------------
fred:Zh2tvsa/XqAKQ
demo:rFGh1SAk6qlyk
(blank line)
----------------------
If this has been useful to you, and you would like to buy me a coffee, or help towards my monthly server costs please click here to make a donation via paypal.
Recent Comments