Apache 1.3.x directive question

Greg Rundlett greg at freephile.com
Wed May 28 08:56:58 EDT 2003


On Tue, 2003-05-27 at 16:43, pll at lanminds.com wrote:
> 
> Hi,
> 
> I have the followig <Directory ...> sections in my httpd.conf file:
> 
>     DocumentRoot /var/www
>     <Directory />
>         Options FollowSymLinks ExecCGI
>         AllowOverride None
>         AuthType Basic
>         AuthName "Paul's Area"
>         AuthLDAPAuthoritative On
>         AuthLDAPURL ldap://localhost/ou=people,dc=EMC,dc=Centera
>         Satisfy All
>         Require valid-user
>     </Directory>
> 
>     Alias /admin/ /var/www/admin
>     <Directory /admin/>
>         Options FollowSymLinks ExecCGI
>         AllowOverride None
>         AuthType Basic
>         AuthName "Paul's Secret Admin Area"
>         AuthLDAPAuthoritative On
>         AuthLDAPURL ldap://localhost/cn=Admins,dc=EMC,dc=Centera
>         AuthLDAPGroupAttributeIsDN On
>         Satisfy All
>         Require group cn=Admins,dc=EMC,dc=Centera
>     </Directory>
> 
> As I understand the Apache docs, if one <Directory> section refers to 
> a path which a child of another section, then the directives are 
> applied in order.  Is this incorrect?
> 

You are correct.



More information about the gnhlug-discuss mailing list