Difference between revisions of ".htaccess"
Karl Jones (Talk | contribs) (Created page with "A '''.htaccess''' (hypertext access) file is a directory-level configuration file supported by several [Web server|web servers]], used for configuration of site-access issues,...") |
Karl Jones (Talk | contribs) (→External links) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | A '''.htaccess''' (hypertext access) file is a directory-level configuration file supported by several [Web server|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 '''.htaccess''' (hypertext access) file is a directory-level configuration file supported by several [[Web server|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. | 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. | ||
Line 18: | Line 18: | ||
* [https://en.wikipedia.org/wiki/.htaccess .htaccess] @ Wikipedia | * [https://en.wikipedia.org/wiki/.htaccess .htaccess] @ Wikipedia | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:Web design and development]] |
Latest revision as of 09:18, 31 August 2016
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.
.htaccess files acts as a subset of the server's global configuration file (like httpd.conf) for the directory that they are in, or all sub-directories.
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.
During the WordPress installation process, the installer edits the .htaccess file, adding rules which WordPress uses.
See also
External links
- .htaccess @ Wikipedia