|Summary:||www-servers/apache: remove deprecated AddDirectoryIndex from default config|
|Product:||Gentoo Linux||Reporter:||Alex Efros <powerman-asdf>|
|Component:||[OLD] Server||Assignee:||Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>|
|Package list:||Runtime testing required:||---|
Description Alex Efros 2012-02-13 17:48:29 UTC
Fresh www-servers/apache-2.2.21-r1 install contain in /etc/apache2/modules.d/00_default_settings.conf this: # To add files to that list use AddDirectoryIndex in a custom config # file. Do not change this entry unless you know what you are doing. <IfModule dir_module> DirectoryIndex index.html index.html.var </IfModule> AFAIK AddDirectoryIndex is deprecated (see bug 139451 for example) and doesn't even mentioned in current apache docs, so this comment in config file should be changed or removed.
Comment 1 Michael Orlitzky 2014-05-23 17:00:59 UTC
Confirming that AddDirectoryIndex hasn't worked for a while. The comment can certainly go, but I wonder if we even need the DirectoryIndex line at all. "DirectoryIndex index.html" is the default in at least 2.2 and 2.4. I don't know what the index.html.var is supposed to accomplish.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) 2014-05-24 19:29:18 UTC
http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commitdiff;h=82dfb3231aa22a477d7a0c1786b0cb016009c4db This will be in the next gentoo-apache tarball rollout. Please keep this bug open until a fixed apache is in portage.
Comment 3 Pacho Ramos 2016-02-08 18:50:36 UTC
Looks like it's still valid with 2.4.18 even :(
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) 2016-02-09 08:17:21 UTC
The above mentioned change has been rolled out for quite a while already.