FileInfo.comFileInfo.com
# 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.

Apache HTACCESS File Icon
File TypeApache HTACCESS File
DeveloperN/A
Popularity3 stars
CategoryWeb 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 Logo
Windows
Icon Apache Web Server
Icon Microsoft Notepad
Icon Other text editor
Linux Logo
Linux
Icon Apache Web Server
Icon Vi
Icon Other text editor
Sponsored Links
Updated 8/18/2010