FileInfo.com - The File Extensions Resource
Or browse alphabetically: # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

.HTACCESS File Extension

TIP: Run a free scan for .HTACCESS file extension errors.

File Type Apache HTACCESS File
Popularity 3 stars  Average
Category Web Files
File Description Configuration file used by an Apache Web server that provides instructions for different directories of a website; "htaccess" is short for HTTP access, which is the protocol used for transmitting Web pages.

The .htaccess file can used to perform several important functions such as:

  • Define the index page of a directory (i.e. "index.html" or "index.php")
  • Specify the 404 (Page not found) error page
  • Perform 301 or 302 page redirects
  • Deny access from specific IP address or other websites
  • Restrict access to certain directories and pages
  • Execute MOD_REWRITE instructions


The .htaccess file is always named ".htaccess" and does not include a filename before the dot; it is placed in the root directory of a website and is processed by the Web server each time a Web page is accessed.

The Apache .htaccess Tutorial includes additional information about how and when to use .htaccess files.
Program(s) that open htaccess files
Windows Windows Apache Web server
Edit with any basic text editor
Linux Linux Apache Web server
Edit with any basic text editor
Sponsored Links
Updated 2/27/2007 Star Fix file extension .HTACCESS errors.
Add Info Add Information Questions Help & FAQ Scan Search Mozilla Firefox Plugin Dashboard Dashboard Widget Printer Print
About FileInfo.com | Terms of Use | Software | Help | Contact

Copyright © 2005-2009 FileInfo.com. All Rights Reserved.