Date: Thu, 28 Jul 2005 10:46:13 -0500 From: "John R. Owens" <jowens@ghiapet.homeip.net> To: freebsd-stable@freebsd.org Subject: Re: Apache2 just listening to https? Message-ID: <42E8FDC5.9040304@ghiapet.homeip.net> In-Reply-To: <33178.62.2.21.164.1122550513.squirrel@www.gwch.net> References: <15339.62.2.21.164.1122537718.squirrel@www.gwch.net> <DD3865A4-725D-40C3-9AB0-9B5B24735645@anduin.net> <33178.62.2.21.164.1122550513.squirrel@www.gwch.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1FF313A7BA9B0CA2B5655BA9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/ --------------enig1FF313A7BA9B0CA2B5655BA9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC6P3Ji0+Id/zGcbARAk0XAJ9IqM0ZksQjs5wpOOD1uxdMuHSymgCgp9qK NVJI0s4K9e4bUEIMC4+tRDM= =IjoS -----END PGP SIGNATURE----- --------------enig1FF313A7BA9B0CA2B5655BA9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E8FDC5.9040304>