Re: Default value of AllowOverride

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

 



Andreas,

No, the documentation is accurate. The purpose of this <Directory> block, as included in the stock config files and most packages prepared by linux distribution maintainers, is to ensure that the root of your filesystem, /, is not accessible from malicious scripts trying to exploit your web server.

It should not be altered, or removed.

What you need to do is 'allow' access to the directory where your content is, with something like:

<Directory /path/to/my/docroot/>
 Allow from all
 AllowOverride <your list here>
</Directory>

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

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



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