Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29843 - emerge apache results in apache2 incorrectly setup to use htdocs in /var
Summary: emerge apache results in apache2 incorrectly setup to use htdocs in /var
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 26979
  Show dependency tree
 
Reported: 2003-09-28 17:08 UTC by Dave
Modified: 2003-09-29 06:33 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 Dave 2003-09-28 17:08:05 UTC
Just emerged apache, and apache2 was built just fine.  However, when I attempted
to start it, I got an error stating that /var/www/localserver/htdocs (this from
memory, so could be incorrect, but it was definitely in /var) didn't exist. 
Looks like the emerge actually placed htdocs in the usual location:  /home/httpd.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-09-28 19:39:24 UTC
Yes I forgot this would happen; but I'd like to maintain one set of config
files if I could, and I should probably do this next bit in the current stable
ebuilds.

What you could do now though, is something like this to fix your install:

# cd /etc/apache2/conf
# perl -pi -e 's|var/www/localhost|home/httpd|;' apache2.conf commonapache2.conf
modules.d/41_mod_ssl.default-vhost.conf

Which will correct the locations in those three configuration files for you.
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-09-29 06:33:04 UTC
added this to the stable ebuilds, fixed.