Re: Default value of AllowOverride

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

 



Andreas Prilop wrote:
Which is the default value of AllowOverride?

http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
claims that the default is
  AllowOverride All

However, /etc/apache2/sites-available/default contains
  <Directory />
  AllowOverride None
  </Directory>

Does this mean that the default is "none"?

No.
I don't know the answer to your main question, but the fact that /etc/apache2/sites-available/default contains something, only means that *for that Virtual Server* (the one defined in that file, and which is presumably the one that handles all calls that have no proper "Host" header), the value is "None".

Each of your other VirtualHosts has its own value, and if it does not, then it uses the value (if any) defined in the "main" section of your Apache configuration. That is whatever directives are *before* the NameVirtualHosts line, in the /etc/apache2/apache2.conf file.
Those are the defaults used by all VirtualHosts.

André


---------------------------------------------------------------------
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