24.2.4. Directories

24.2.4. Directories

Use the Directories page in the Performance tab to configure options for specific directories. This corresponds to the <Directory> directive.

Directories

Figure 24.6. Directories


Click the Edit button in the top right-hand corner to configure the Default Directory Options for all directories that are not specified in the Directory list below it. The options that you choose are listed as the Options directive within the <Directory> directive. You can configure the following options:

To specify options for specific directories, click the Add button beside the Directory list box. A window as shown in Figure 24.7, “Directory Settings” appears. Enter the directory to configure in the Directory text field at the bottom of the window. Select the options in the right-hand list and configure the Order directive with the left-hand side options. The Order directive controls the order in which allow and deny directives are evaluated. In the Allow hosts from and Deny hosts from text field, you can specify one of the following:

Directory Settings

Figure 24.7. Directory Settings


If you check the Let .htaccess files override directory options, the configuration directives in the .htaccess file take precedence.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-4 because CentOS-4 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-4 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.