AccessConfig directive for Apache
- AccessConfig directive
Syntax: AccessConfig file-path|directory-path|wildcard-path
Default: AccessConfig conf/access.conf
Context: server config, virtual host
Compatibility: The ability to specify a directory, rather than a file name, is only available in Apache 1.3.13 and later. This directive will be eliminated in version 2.0.
The server will read this file for more directives after reading the ResourceConfig file. File-path is relative to the ServerRoot. This feature can be disabled using:
Or, on Win32 servers,
Historically, this file only contained <Directory> sections; in fact it can now contain any server directive allowed in the server config context. However, since Apache version 1.3.4, the default access.conf file which ships with Apache contains only comments, and all directives are placed in the main server configuration file, httpd.conf.
If AccessConfig points to a directory, rather than a file, Apache will read all files in that directory, and any subdirectory, and parse those as configuration files.
Alternatively you can use a wildcard to limit the scope; i.e to only *.conf files.
Note that by default any file in the specified directory will be loaded as a configuration file.
So make sure that you don't have stray files in this directory by mistake, such as temporary files created by your editor, for example.
Redirecting YourSite.com to www.YourSite.com
AddModule directive for Apache
About ed at Linux
AcceptFilter for Apache
AccessFileName directive for Apache
htaccess at Windows
|© 2001 - 2017 Tatamedia Solusindo ||