You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Júlio Maranhão <ju...@ieav.cta.br> on 2006/09/25 13:57:16 UTC

[users@httpd] Two questions about Directory directive in Apache2 for Windows

1) First issue

The httpd.default.conf sugests to use the following code:

<Directory />
     Options FollowSymLinks
     AllowOverride None
</Directory>

But if I have 2 partitions in Windows (C: and E:) with specific folders 
published in httpd.conf Apache2, should I use the following instead?

<Directory "C:/">
     Options FollowSymLinks
     AllowOverride None
</Directory>

<Directory "E:/">
     Options FollowSymLinks
     AllowOverride None
</Directory>

2) Second issue

Consider the following configuration:

<Directory />
     Options None
     AllowOverride None
     Order allow,deny
     Allow from 127.0.0.1
</Directory>
<Directory /test>
     Allow from my.intranet
</Directory>

Can I consider the upper folder configuration to apply for /test?

I confess I am lazy about reading the Apache manual. But I will only have time 
to read the manual after 1st oct.

Cheers,

Júlio Maranhão


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org