Apache2 just listening to https?

John R. Owens jowens at ghiapet.homeip.net
Thu Jul 28 15:46:24 GMT 2005


Roger Grosswiler wrote:
>>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

Assuming you copied what you entered quite precisely, quite simple,
really. You need a space between the first "/" and "HTTP/1.0", is all.
That's why it's not finding any such file at "<DocumentRoot>/HTTP/1.0".

As for another point you made elsewhere, if it's working from your local
network, but not from the Internet, and you're pretty sure that a
firewall or router on your local network isn't the issue, it could be
that your ISP filters ports 80 and/or 443 if you have a residential-type
service.

-- 
John R. Owens
ProofReading Markup Language: http://prml.sourceforge.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050728/162ca6fc/signature.bin


More information about the freebsd-stable mailing list