Find .htaccess File in Cpanel Tutorial. A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of site-access issues, such as URL redirection, URL shortening, Access-security control (for different webpages and files), and more. A site could have more than one .htaccess file, and the files are placed inside the web tree (i.e. inside directories and their sub-directories), and hence their other name distributed configuration files.[1] .htaccess files acts as a subset of the server's global configuration file (like httpd.conf[2]) for the directory that they are in, or all sub-directories.[3] The original purpose of .htaccess—reflected in its name—was to allow per-directory access control by, for example, requiring a password to access the content. More commonly, however, the .htaccess files define or override many other configuration settings such as content type, character set, CGI handlers, etc.
Basically, the file name is just htaccess, but the 'dot' (period or full stop) before its name makes it a hidden file in Unix based environments. htaccess files are not written in a well-defined language but rather in the Directives syntax, which is a specific syntax that uses for writing several server configuration files, including this one. For historical reasons, the format of .htaccess is a limited subset of the Apache HTTP server's global configuration file httpd.conf [4] even when used with web servers such as Oracle iPlanet Web Server[5] and Zeus Web Server which have very different native global configuration files.
• Video