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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux