with www-servers/apache (at least 2.2 series), there's a /etc/apache2/modules.d/00_mod_autoindex.conf which unconditionally installs an Alias "/icons/" and some AddIcon* directives. That completely clutters my personal namespace, because I have an own set of Icons for that purpose. Currently, the only option to use an own set of icons, is to remove that config-file (or rename it). Problem is: with every update, you get it installed again and again and again (I don't want to modify default configs, I prefer to overwrite stuff in a personal config which is unfortunately not possible with Alias and AddIcon*). It would be great, if there were a DEFINE Option for that, that could be triggered via /etc/conf.d/apache2. If you don't want to change the default behaviour, you could add a negative IfDefine like that: <IfDefine !NO_AUTOINDEX_CONF> ... </IfDefine> So if I set "-D NO_AUTOINDEX_CONF" in /etc/conf.d/apache2 that config would'nt be used, but the default case would be to include it. Thanks!
Thanks for the report: http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commitdiff;h=afe4150b04846f8da24e47df51a714c0a91b73cc This will be in the next gentoo-apache tarball rollout. Please keep this bug open until a fixed apache is in portage.
Fixed in =www-servers/apache-2.2.27-r3 and =www-servers/apache-2.4.9-r3.