Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4425 - default apache config broken and bad.

Attached to Project: Arch Linux
Opened by Yi Qiang (yi) - Monday, 10 April 2006, 01:34 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 10 April 2006, 06:31 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

apache2 in testing ships with a broken config by _default_.
ServerRoot is set to "/home/httpd", which is a good idea. However, the modules try to load from $SERVEROOT/lib/..., so apache will break trying to load these modules. The fix is to change ServerRoot to /usr. It should be quite obvious why that is bad. Perhaps giving the modules a absolute path is a fix but perhaps someone can suggest something better.
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 12 April 2006, 18:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.2.0-2
Comment by Judd Vinet (judd) - Wednesday, 12 April 2006, 00:42 GMT
Hmmm, my default httpd.conf has ServerRoot set to /usr, not /home/httpd. Just as the 2.0 series had.

>> It should be quite obvious why that is bad.

Brevity is not necessary here. Why do you feel this is bad?

Comment by Yi Qiang (yi) - Wednesday, 12 April 2006, 15:11 GMT
http://httpd.apache.org/docs/2.0/mod/core.html

"The ServerRoot directive sets the directory in which the server lives. Typically it will contain the subdirectories conf/ and logs/. Relative paths in other configuration directives (such as Include or LoadModule, for example) are taken as relative to this directory." This doesn't seem to be the case with the configuration shipped by arch.
Comment by Judd Vinet (judd) - Wednesday, 12 April 2006, 18:26 GMT
Thanks Yi. I'll change ServerRoot to /etc/httpd and have symlinks pointing to /var/log/httpd and /usr/lib/apache

Loading...