public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] apache https setup
@ 2009-07-17 16:33 Roger Mason
  2009-07-18 13:16 ` Mick
  0 siblings, 1 reply; 3+ messages in thread
From: Roger Mason @ 2009-07-17 16:33 UTC (permalink / raw
  To: gentoo-user

Hello,

I'm trying to set up an apache https server.  I keep getting "Page Load
Error" when trying to connect.  I'm using apache 2.0.58.  I've generated
certificates, worked my way through various problems and apache starts
OK, asking me for the passphrase for the certificate, but it is not
serving up pages.

The error_log contains this:

[Fri Jul 17 13:30:01 2009] [error] [client 127.0.0.1] File does not
exist: /usr/htdocs

The error is correct in that /usr/htdocs does not exist, but I have
set 00_default_vhost.conf to serve documents out of:

DocumentRoot "/var/www/htdocs"

I have spent quite a lot of time searching the web and modifying the
various config files but I can't get the thing to work.  Any help will
be much appreciated.

Thanks,
Roger



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] apache https setup
  2009-07-17 16:33 [gentoo-user] apache https setup Roger Mason
@ 2009-07-18 13:16 ` Mick
  2009-07-18 14:40   ` David
  0 siblings, 1 reply; 3+ messages in thread
From: Mick @ 2009-07-18 13:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]

On Friday 17 July 2009, Roger Mason wrote:
> Hello,
>
> I'm trying to set up an apache https server.  I keep getting "Page Load
> Error" when trying to connect.  I'm using apache 2.0.58.  I've generated
> certificates, worked my way through various problems and apache starts
> OK, asking me for the passphrase for the certificate, but it is not
> serving up pages.
>
> The error_log contains this:
>
> [Fri Jul 17 13:30:01 2009] [error] [client 127.0.0.1] File does not
> exist: /usr/htdocs
>
> The error is correct in that /usr/htdocs does not exist, but I have
> set 00_default_vhost.conf to serve documents out of:
>
> DocumentRoot "/var/www/htdocs"

I think that you have not configured your vhosts right, otherwise you would 
not be getting the error about /usr/htdocs - that is probably the default 
directory path in your apache configuration?

I cannot access a gentoo apache server at this moment to compare and you don't 
really show nearly enough info from your configuration files, so it may be 
worth having a look at this old wiki page (but take it with a pinch of salt 
as things may have changed slightly since):

http://www.gentoo-wiki.info/HOWTO_Apache_VirtualHost_by_IP_Address

HTH.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] apache https setup
  2009-07-18 13:16 ` Mick
@ 2009-07-18 14:40   ` David
  0 siblings, 0 replies; 3+ messages in thread
From: David @ 2009-07-18 14:40 UTC (permalink / raw
  To: gentoo-user

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

-- 
Powered by Gentoo GNU/Linux
http://linuxcrazy.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-18 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 16:33 [gentoo-user] apache https setup Roger Mason
2009-07-18 13:16 ` Mick
2009-07-18 14:40   ` David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox