1 |
On Friday 17 July 2009, Roger Mason wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I'm trying to set up an apache https server. I keep getting "Page Load |
5 |
> Error" when trying to connect. I'm using apache 2.0.58. I've generated |
6 |
> certificates, worked my way through various problems and apache starts |
7 |
> OK, asking me for the passphrase for the certificate, but it is not |
8 |
> serving up pages. |
9 |
> |
10 |
> The error_log contains this: |
11 |
> |
12 |
> [Fri Jul 17 13:30:01 2009] [error] [client 127.0.0.1] File does not |
13 |
> exist: /usr/htdocs |
14 |
> |
15 |
> The error is correct in that /usr/htdocs does not exist, but I have |
16 |
> set 00_default_vhost.conf to serve documents out of: |
17 |
> |
18 |
> DocumentRoot "/var/www/htdocs" |
19 |
|
20 |
I think that you have not configured your vhosts right, otherwise you would |
21 |
not be getting the error about /usr/htdocs - that is probably the default |
22 |
directory path in your apache configuration? |
23 |
|
24 |
I cannot access a gentoo apache server at this moment to compare and you don't |
25 |
really show nearly enough info from your configuration files, so it may be |
26 |
worth having a look at this old wiki page (but take it with a pinch of salt |
27 |
as things may have changed slightly since): |
28 |
|
29 |
http://www.gentoo-wiki.info/HOWTO_Apache_VirtualHost_by_IP_Address |
30 |
|
31 |
HTH. |
32 |
-- |
33 |
Regards, |
34 |
Mick |