Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91745 - Symlinks and http.conf paths relative to new ServerRoot mildly misleading in Apache 2.0.54 upgrade
Summary: Symlinks and http.conf paths relative to new ServerRoot mildly misleading in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-05-06 16:26 UTC by Ian Brandt
Modified: 2005-07-12 19:57 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 Ian Brandt 2005-05-06 16:26:47 UTC
According to http://dev.gentoo.org/~vericgar/doc/apache-package-refresh.html and the apache-2.0.54.ebuild the new location for module and virtual host config files is /etc/apache2/modules.d and /etc/apache2/vhosts.d, but the httpd.conf installed by the ebuild points to the old locations under /etc/apache2/conf/:

...

# We Include extra .conf files from /etc/apache2/modules.d
# This is used to load things like PHP and mod_ssl.
#
Include conf/modules.d/*.conf

...

#
# Gentoo VHosts
# 
# For Gentoo we include External Virtual Hosts Files.
#
Include conf/vhosts.d/*.conf

Reproducible: Always
Steps to Reproduce:
Comment 1 Paul Querna 2005-05-06 17:41:55 UTC
I believe those are correct, but misleading.

The ServerRoot contains a symlink from conf -> /etc/apache, so a relative path from the serverRoot, is conf/vhost.d/..
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-05-06 18:15:00 UTC
This is about the 5th time a bug has been opened for it. And more will probably be opened for it. What about using absolute paths to make it not confusing?
Comment 3 Ian Brandt 2005-05-07 08:18:12 UTC
Oh right, with the ServerRoot change and the leftovers from the previous layout I got confused.  And there it is spelled out in your httpd.conf comments too.  My bad.

I agree absolute paths would help stay the confusion.  In fact are the symlinks in ServerRoot required at all?  If they are only there for convenience I say leave that as an exercise for the user.  I like the new, more FHS layout.  I say embrace it fully, and unless there is a need to partially emulate the stock layout then no sense in adding any levels of indirection.
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-12 18:28:29 UTC
I have made the changes to the configuration so that the paths are now absolute.
These changes are in SVN and will show up the next time the configuration
tarball is rolled.
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-07-12 19:57:04 UTC
New tarball rolled.
Fixed in CVS.
Resolving.