Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493020 - www-servers/apache: make 00_mod_autoindex.conf optional
Summary: www-servers/apache: make 00_mod_autoindex.conf optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 11:53 UTC by Stefan Briesenick (RETIRED)
Modified: 2018-08-28 10:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2013-12-01 11:53:26 UTC
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!
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-22 08:32:37 UTC
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.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-22 14:02:47 UTC
Fixed in =www-servers/apache-2.2.27-r3 and =www-servers/apache-2.4.9-r3.