Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.1 <Directory>

<Directory> defines directives that are applied only for a specific directory.

Description

<Directory> defines directives that are applied only for a specific directory. You can specify a directory name in directory_name and then specify directives that are applied only for the specified directory and subdirectories.

Specify directory name as an absolute path.

Syntax

<Directory directory_name> directive [directive ...] </Directory>

Locations where it can be written

httpsd.conf and <VirtualHost>

Example

<Directory />                                         ...1.
     Options None                                     ...2.
     AllowOverride None                               ...3.
</Directory>                                          ...4.
 
<Directory "installation_directory_for_Application_Server/httpsd/htdocs">  ...5.
     Options Indexes                                  ...6.
     AllowOverride None                               ...7.
     Order allow,deny                                 ...8.
     Allow from all                                   ...9.
</Directory>                                          ...10.
  1. Defines the root directory

  2. Disables all functionalities

  3. Prohibits all overwriting

  4. End of the definition

  5. Defines the directory installation_directory_for_Application_Server/httpsd/htdocs

  6. Permits directory index to be displayed

  7. Prohibits all overwriting

  8. Evaluates the Allow directive specification before the Deny directive

  9. Permits access from all hosts

  10. End of the definition