1 |
On May 25, 2004, at 6:48 pm, Stuart Herbert wrote: |
2 |
> |
3 |
> Gentoo used to use /home/htdocs as the ServerRoot for Apache. It was |
4 |
> moved |
5 |
> to /var/www/localhost round about the release of apache-2.0.48-r1. |
6 |
|
7 |
I was aware of this. It is the structural changes beneath the document |
8 |
root that have confused me. |
9 |
|
10 |
|
11 |
>> GLEP 11 is presumably not intended as user-documentation, so |
12 |
>> an explanation for someone who finds GLEP 11 heavy-going would be |
13 |
>> appreciated. |
14 |
> |
15 |
> I have asked for help from the gentoo-doc project; unfortunately, |
16 |
> no-one has |
17 |
> been able to volunteer their time to help us with docs. |
18 |
> |
19 |
> David Stanek has been kind enough to start work on this. You can find |
20 |
> a draft |
21 |
> at: |
22 |
> |
23 |
> http://roninds.homelinux.net/vhost.html |
24 |
|
25 |
Thank you for that. Perhaps a link to the final documentation would be |
26 |
appropriate on the new Apache start page..? I'm tempted to suggest |
27 |
adopting the current draft as final, so that users can submit bugs |
28 |
against it, but that could be messy. |
29 |
|
30 |
>> My server is never addressed as "localhost". |
31 |
> |
32 |
> Doesn't matter. If we're going to make it possible for you to install |
33 |
> web-based apps using Portage, they have to have a default home. That's |
34 |
> what /var/www/localhost is. |
35 |
|
36 |
Fair enough. Thank you for explaining. |
37 |
|
38 |
>> In writing this email to you I find that an emerge --update has placed |
39 |
>> the new squirrelmail in /var/www/htdocs/, a directory which is now |
40 |
>> otherwise fairly redundant, as it only contains the default Apache |
41 |
>> start-page (in several languages). That update to squirrelmail has |
42 |
>> been |
43 |
>> ignored the past month, as I wasn't aware it would go there. |
44 |
> |
45 |
> Okay, sounds like you're running with ACCEPT_KEYWORDS=~x86. |
46 |
|
47 |
Nope, I'm not. Things probably just got messed up during the transition |
48 |
from /home/htdocs to /var/www |
49 |
|
50 |
> It also sounds |
51 |
> like your /etc/vhosts/webapp-config file is incorrect too. |
52 |
|
53 |
$ less /etc/vhosts/webapp-config |
54 |
/etc/vhosts/webapp-config: No such file or directory |
55 |
|
56 |
> I recommend that you run |
57 |
> |
58 |
> emerge -C squirrelmail |
59 |
> emerge webapp-config |
60 |
|
61 |
Okies. I've emerged that now. The /etc/vhosts/webapp-config file looks |
62 |
very well-documented, but I guess I'm going to have to spend more time |
63 |
trying to understand Apache & it's documents layout. |
64 |
|
65 |
> I'd also recommend that you either pay closer attention to what and |
66 |
> where |
67 |
> Portage installs things, or that you stop running with |
68 |
> ACCEPT_KEYWORDS=~x86. |
69 |
|
70 |
*cough* |
71 |
|
72 |
>> What other ways have users demonstrated to you that the don't have a |
73 |
>> clue about virtual hosting..? |
74 |
> |
75 |
> This is based on my personal experience of directly talking to Gentoo |
76 |
> users |
77 |
> about web-based applications over the last month or two. Most users |
78 |
> are |
79 |
> comfortable w/ using their box to serve pages for just the one domain; |
80 |
> moving |
81 |
> to using name-based virtual servers has demonstrated that there's a |
82 |
> bit more |
83 |
> to read about. |
84 |
|
85 |
I look forward to the documentation. |
86 |
|
87 |
Stroller. |
88 |
|
89 |
|
90 |
-- |
91 |
gentoo-dev@g.o mailing list |