Home : File Types : HTACCESS File

.HTACCESS File Extension

File TypeApache HTACCESS File

4.0 (24 Votes)
CategoryWeb Files

What is an HTACCESS file?

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.

More Information

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.

Open over 300 file formats with File Viewer Plus.
Programs that open HTACCESS files
Updated 12/20/2012

About HTACCESS Files

Our goal is to help you understand what a file with a *.htaccess suffix is and how to open it.

The Apache HTACCESS file type, file format description, and Mac, Windows, Linux, and Android programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.