Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2005 13:35:13 +0200 (CEST)
From:      "Roger Grosswiler" <roger@gwch.net>
To:        Eirik =?iso-8859-1?Q?=D8verby?= <ltning@anduin.net>
Cc:        freebsd-stable@freebsd.org, Roger Grosswiler <roger@gwch.net>
Subject:   Re: Apache2 just listening to https?
Message-ID:  <33178.62.2.21.164.1122550513.squirrel@www.gwch.net>
In-Reply-To: <DD3865A4-725D-40C3-9AB0-9B5B24735645@anduin.net>
References:  <15339.62.2.21.164.1122537718.squirrel@www.gwch.net> <DD3865A4-725D-40C3-9AB0-9B5B24735645@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Jul 28, 2005, at 10:01 AM, Roger Grosswiler wrote:
>
>>>
>>> Try adding port 80 to your Listen statement(s) in httpd.conf. Also
>>> make
>>>
>> sure you have virtual hosts that capture requests on port 80.
>>
>>>
>>> /Eirik
>>>
>>>
>> i did a file called virtual.conf in /usr/local/etc/apache2/Include
>> with
>> this content:
>>
>> <VirtualHost *:80>
>> ServerName freebsd.domain.net
>> ServerAlias freebsd.domain.net
>> DocumentRoot /usr/local/www/data
>> </VirtualHost>
>
> Make sure you are not enabling SSL globally, but for each vhost
> individually.
> Try the telnet trick mentioned by others, but simply type "GET / HTTP/
> 1.0" <ENTER><ENTER><ENTER> -- it should give you something about
> trying to talk HTTP to a HTTPS server. Would explain why lynx/links
> aren't working.
>
> /Eirik
>
Connected to freebsd.gwch.net (192.168.0.101).
Escape character is '^]'.
GET /HTTP/1.0
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /HTTP/1.0 was not found on this server.</p>
<hr>
<address>Apache/2.0.53 (FreeBSD) PHP/4.3.10 mod_ssl/2.0.53 OpenSSL/0.9.7e
Server at freebsd.gwch.net Port 80</address>
</body></html>
Connection closed by foreign host.


seems as perhaps i have a problem with my DocumentRoot???

Ro




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33178.62.2.21.164.1122550513.squirrel>