Date: Thu, 28 Jul 2005 03:54:43 -0500 From: "John R. Owens" <jowens@ghiapet.homeip.net> To: stable@freebsd.org Subject: Re: Apache2 just listening to https? Message-ID: <42E89D53.5010000@ghiapet.homeip.net> In-Reply-To: <42E8A2DB.4070603@bmby.com> References: <15339.62.2.21.164.1122537718.squirrel@www.gwch.net> <42E8A2DB.4070603@bmby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig92F4D1DAB1F9F6F186695BBC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Uzi Klein wrote: > Roger Grosswiler wrote: >> 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> >> >> ...which should be loaded on startup. Also, i activated >> >> NameVirtualHost *:80 >> >> in httpd.conf - still no success...whats up here? firewall is open, >> redirecting on router is well...but still no success... >> >> :-( Roger > > Try checking it using telnet: > > # telnet freebsd.domain.net 80 > GET / HTTP/1.1 > Host:freebsd.domain.net > > [ .. twice enter here .. ] > > and see if it gives you a clue > > -Uzi Technically, to be HTTP/1.1 compliant, that should be: # telnet freebsd.domain.net 80 GET / HTTP/1.1 Host: freebsd.domain.net Connection: close [ .. twice enter here .. ] otherwise Apache should (I haven't tested, this is per the HTTP/1.1 RFC 2616) assume a persistent connection and leave you hanging after your request until whatever time you have for your KeepAliveTimeout has passed. Also, it would be simpler to do "HEAD / HTTP/1.1" etc., so you don't get the content of your server root or its DirectoryIndex file. Just the good stuff that tells you what you want to know about the server, if it's responding on that port at all. -- John R. Owens ProofReading Markup Language: http://prml.sourceforge.net/ --------------enig92F4D1DAB1F9F6F186695BBC 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 iD8DBQFC6J1Xi0+Id/zGcbARAuIRAJ0UyPm1hnWJqPgnXMRs/jH7FJ1l1gCePfwm kUAH2iOnoKh3xx7y/JCgyr0= =84yr -----END PGP SIGNATURE----- --------------enig92F4D1DAB1F9F6F186695BBC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E89D53.5010000>