Managing access using .htaccess

webServerTools.htaccess files are complex, but here is some introductory uses for this excellent security tool


Edit .htaccess

Start by logging on to your web server.

Open the .htaccess file for editing. Here are some example uses, just enter the text at the top of the file.

To block everyone:

order deny,allow
deny from all

To block everyone but allow a couple:

order deny,allow
deny from all
allow from 123.234.12.34
allow from 12.34.56.78

 

Thanks for visiting.