Apache2 just listening to https?
roger at gwch.net
Thu Jul 28 11:40:59 GMT 2005
>> On Jul 28, 2005, at 10:01 AM, Roger Grosswiler wrote:
>>>> Try adding port 80 to your Listen statement(s) in httpd.conf. Also
>>> sure you have virtual hosts that capture requests on port 80.
>>> i did a file called virtual.conf in /usr/local/etc/apache2/Include
>>> this content:
>>> <VirtualHost *:80>
>>> ServerName freebsd.domain.net
>>> ServerAlias freebsd.domain.net
>>> DocumentRoot /usr/local/www/data
>> Make sure you are not enabling SSL globally, but for each vhost
>> 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.
> 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">
> <title>404 Not Found</title>
> <h1>Not Found</h1>
> <p>The requested URL /HTTP/1.0 was not found on this server.</p>
> <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>
> Connection closed by foreign host.
> seems as perhaps i have a problem with my DocumentRoot???
More information about the freebsd-stable