Showing posts with label .htaccess. Show all posts
Showing posts with label .htaccess. Show all posts

Friday, August 12, 2011

.htaccess Files

A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration.

 The .htaccess files(or "distributed configuration files") can override many other configuration settings including content type and character set, CGI handlers, etc.

 These files are placed inside the web tree, and are able to override a subset of the server's global configuration for that directory, and all sub-directories.

 .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being able to have your own custom 404 error pages.

.htaccess isn't difficult to use and is really just made up of a few simple instructions in a text file.

 .htaccess can do including: password protecting folders, redirecting users automatically, custom error pages, changing your file extensions, banning users with certian IP addresses, only allowing users with certain IP addresses, stopping directory listings and using a different file as the index file.

Top Stories