AccessConfig Directive

Top - Docs - General - Server - Resource - Access - FAQ - Tutorials

Purpose

The AccessConfig directive gives HTTPd the location of the global access configuration file.


Syntax

AccessConfig file

file is the name of the global access configuration file. It is either a full pathname, or a partial pathname relative to ServerRoot.

Only one AccessConfig directive is allowed in the configuration file.


Virtual Host

Access Information can be different across different hosts, but the configuration file is the same. For non-overlapping directory trees, you can merely specify different constraints for different directories. For overlapping trees, you must have different AccessFileNames for each host and cannot use the global configuration.


Default

If you do not specify an AccessConfig, HTTPd assumes:

AccessConfig conf/access.conf

Compile Option: ACCESS_CONFIG_FILE


Examples

AccessConfig conf/access-global

HTTPd looks for access configuration in the file conf/access-global in the ServerRoot directory.

AccessConfig /httpd/admin/access

HTTPd looks for access configuration in the file /httpd/admin/access.


[Back] Return to Server Configuration File Overview
NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / Last Modified 7-12-95