Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8009 - apache.config file hast wrong ServerRoot
Summary: apache.config file hast wrong ServerRoot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-16 20:09 UTC by Christian Loitsch
Modified: 2003-02-04 19:42 UTC (History)
3 users (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 Christian Loitsch 2002-09-16 20:09:33 UTC
you need to change ServerRoot to /etc/apache.
Otherwise Includes (eg for ssl) won't work.
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2002-09-16 20:18:23 UTC
hmm my config is set to /etc/apache with no editing... did u run the config
ebuilds as suggested after emerging apache?
Comment 2 SpanKY gentoo-dev 2002-09-16 21:22:29 UTC
my ServerRoot is also /etc/apache on all the machines ive installed apache on

run this script:
`grep ServerRoot /usr/portage/net-www/apache/files/conf/apache.conf`
and tell me what you get back

root@rux0r security # cd /usr/portage/net-www/apache/files/conf/
root@rux0r security # grep ServerRoot apache.conf
ServerRoot /etc/apache
root@rux0r security # 

if you dont see that, then do this:
`emerge rysnc --clean ; emerge portage -u ; emerge rsync`
and then run grep again to see what you have
Comment 3 Christian Loitsch 2002-09-18 03:45:25 UTC
sorry but which ebuild configs do you mean?  I want through my logs and can't find anything.



grep returns /etc/apache



I used apache.conf.default as template.

for the record: my gentoo is a 1.3 with gcc 2

my apache installed is: 1.3.26-r3



I went through my logs and I notice that emerge says it copied apache.conf, but either I was really blind, or I had only apache.conf.default :(     I will try to configure again, with the /usr/portage/net-www/apache/files/conf/apache.conf file.  But could you please give me a list of files, which should be in /etc/apache/  thanks



Comment 4 SpanKY gentoo-dev 2002-09-18 14:44:32 UTC
ok, well apache.conf.default is taken from the apache install (which means 
ServerRoot is whatever Apache has set it to)

gentoo provides a apache.conf file (/etc/apache/conf/apache.conf) which is 
customized for gentoo (which has ServerRoot as /etc/apache)

that means use the conf file gentoo has provided and if you want more info, use 
the default one and customize it :)