Using .htaccess Configuration Files
Apache also supports special configuration files, known as .htaccess
files. Almost any directive that appears in apache2.conf
can appear in an .htaccess
file. This file, specified in the AccessFileName
directive in apache2.conf
sets configurations on a per-directory (usually in a user directory) basis. As the system administrator, you can specify both the name of this file and which of the server configurations can be overridden by the contents of this file. This is especially useful for sites in which there are multiple content providers and you want to control what these people can do with their space.
To limit which server configurations the .htaccess
files can override, use the AllowOverride
directive. ...
Get Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.