In brief about Apache config file .htaccess

April 23rd, 2009 / Raghwendra Ojha

.htaccess(hypertext access) files are distributed configuration files that allow to change the configuration of directory of most commonly web server Apache.  .htaccess files can contain one or more configuration directives. A .htaccess file with directives enable the directives of that directory where you place the file and all sub directories, unless disabled in the main configuration. By using .htaccess file you can do following on your Apache based web server

- to protect your web directory with password
- to allow and deny user IP addresses
- to made custom directory index page
- to redirect HTTP request
- to make custom 404 error page
- to change your file extensions
- to stop directory listing
- to made SEO friendly URL of a website



Leave a Comment

You must be logged in to post a comment.

IMG_1351IMG_1375IMG_1369IMG_1364IMG_1348IMG_1361IMG_1353IMG_1350IMG_1349IMG_1362IMG_1359IMG_1370workfromhome2 copyworkfromhome copywinning copy