Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277298 - www-servers/apache: backend application files should not be placed in /var/www/ but used from /usr/share/apache2/
Summary: www-servers/apache: backend application files should not be placed in /var/ww...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://httpd.apache.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 09:56 UTC by Milos Ivanovic
Modified: 2009-09-20 08:38 UTC (History)
0 users

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 Milos Ivanovic 2009-07-10 09:56:48 UTC
www-servers/apache places the 'icons' and 'error' folders in /var/www/localhost/ rather than using them from /usr/share/apache2/ which would be more sensible.

On a side note, what should be /usr/share/apache2/ is actually named based on its version and revision, i.e. /usr/share/apache-2.2.11-r2/ - the only other applications I have that do this are aclocal, automake and glib - the rest of the folders are simply named after the application without any versioning.

Inside /usr/share/apache-2.2.11-r2/, there is a folder titled 'webroot' which ironically contains what seems to be 'cgi-bin', 'error', 'htdocs' and 'icons' at their original state as they were found after the application was compiled.

I believe that the 'icons' and 'error' folders should be used from /usr/share/apache2/ and not copied to /var/www/localhost/ as these more important apache backend folders are seldom edited, plus, if accidentally deleted, the application would either require a recompilation, or knowledge of the original files located at /usr/share/apache-2.2.11-r2/ to restore its full functionality.

Reproducible: Always

Steps to Reproduce:
1. emerge -av apache
2. ls /var/www/localhost/
3. important folders are found under the varying /var/www/ directory
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-07-10 16:08:29 UTC
Thank you for report. Assigning on maintainers.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2009-09-20 08:38:42 UTC
fixed in 2.2.13-r1, thanks