Server Admin Search
Articles Category
.htaccess File
- Details
- Category: Web Server
- Published on Wednesday, 30 November 2011 12:52
- Written by Server Administrator
- Hits: 317
.htaccess File
A buddy was asking me about .htaccess files so here you go.
A .htaccess or hypertext access file is a directory level configuration file supported by several web servers.
The original purpose of .htaccess was to allow directory access control. Now of days the .htaccess files can override many other configuration settings with in the website.
Here is an example:
AuthName "SiteName Administration"AuthUserFile /home/sitename.com/.htpasswdAuthType basicRequire valid-userOrder deny,allowDeny from allAllow from 24\.205\.23\.222Allow from w3.org htmlhelp.comAllow from googlebot.comSatisfy Any
Good Link:
http://httpd.apache.org/docs/1.3/howto/htaccess.html
If there are any questions, please see out forum at http://forum.the-server-admin.com.

