hi, I needed to switch on indexing for one directory at my webserver after typing the address in the browser, I have noticed that there are missing icons looking at the Apache configuration, I have found that within /etc/apache2/modules.d/00_autoindex.conf there are these lines: Alias /icons/ "/var/www/localhost/icons/" <Directory "/var/www/localhost/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> however, no /var/www/localhost/icons exists - the icons are found at /usr/share/doc/apache-2.2.6-r5/webroot/icons/ ... after replacing the path in the config file with this directory, reloading configuration and then reloading the page the icons appeared in the browser Reproducible: Always Steps to Reproduce: 1. Install and configure apache web server. 2. Create some testing directory under the webroot and allow indexing for it, e.g. by putting there .htaccess file containing Options Indexes (Make sure there is no index file in that directory that would take precedence before automatic indexing. Also make sure that FancyIndexing is turned on.) 3. Point your browser to the web page corresponding to the testing directory. Actual Results: There are images (icons) missing on the page. If you try to follow the image sources, you get http error 403. Expected Results: The page is displayed properly without any missing elements.
You need to run emerge --config =www-servers/apache-<version> to get this. And no, it won't be done automatically because people moaned about overwriting their index.html and whatnot.
(In reply to comment #1) > You need to run emerge --config =www-servers/apache-<version> to get this. oops, looking back to logs, I see: * If you would like to install the latest webroot, please run * emerge --config =apache-2.2.6-r5 somehow, I did not connect these two :-/ > And no, it won't be done automatically because people moaned about > overwriting their index.html and whatnot. and I do not want you to do that :-) in fact, I do not see any point in copying the files from here to there - I'd rather see the default configfile modified to point to the location before the copying ... this way, it would work on default install, and using custom configuration, it won't get overwritten automagically and user would be forced to check the changes, which happens anyway but I won't reopen this, as it looks like some intended policy