Intro to Apache - ApacheCon
Configuring cont'd: containers (scope)
  • A container specifies a scope - one or more files, on which one or more directives are to act.

    
         <Directory /usr/local/apache/htdocs/images>
            AllowOverride None
            Options +Indexes
         </Directory>
    
      

  • Directives apply only to files located in the directory /usr/local/apache/htdocs/images, and subdirectories of it.

  • Can be overridden with a more specific Directory section specifying that lower directory.

Index
Back to Directives examples
Forward to Containers:

ApacheCon : Intro to Apache - Slide #66 of 139