From owner-freebsd-stable@FreeBSD.ORG Thu Jul 28 09:10:24 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B156C16A41F for ; Thu, 28 Jul 2005 09:10:24 +0000 (GMT) (envelope-from roger@gwch.net) Received: from mail.gwch.net (80-219-201-207.dclient.hispeed.ch [80.219.201.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0449A43D45 for ; Thu, 28 Jul 2005 09:10:23 +0000 (GMT) (envelope-from roger@gwch.net) Received: from localhost (link [127.0.0.1]) by mail.gwch.net (Postfix) with ESMTP id 9BA81408A4; Thu, 28 Jul 2005 11:10:22 +0200 (CEST) Received: from mail.gwch.net ([127.0.0.1]) by localhost (mail.gwch.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01608-01; Thu, 28 Jul 2005 11:10:19 +0200 (CEST) Received: from www.gwch.net (pluto.gwch.net [192.168.2.103]) by mail.gwch.net (Postfix) with ESMTP id 17CF740899; Thu, 28 Jul 2005 11:10:19 +0200 (CEST) Received: from 62.2.21.164 (SquirrelMail authenticated user rogerg) by www.gwch.net with HTTP; Thu, 28 Jul 2005 11:10:19 +0200 (CEST) Message-ID: <18524.62.2.21.164.1122541819.squirrel@www.gwch.net> In-Reply-To: <42E89D53.5010000@ghiapet.homeip.net> References: <15339.62.2.21.164.1122537718.squirrel@www.gwch.net> <42E8A2DB.4070603@bmby.com> <42E89D53.5010000@ghiapet.homeip.net> Date: Thu, 28 Jul 2005 11:10:19 +0200 (CEST) From: "Roger Grosswiler" To: "John R. Owens" User-Agent: SquirrelMail/1.4.4-2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at gwch.net Cc: stable@freebsd.org Subject: Re: Apache2 just listening to https? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 09:10:24 -0000 > Uzi Klein wrote: >> Roger Grosswiler wrote: >>> i did a file called virtual.conf in /usr/local/etc/apache2/Include with >>> this content: >>> >>> >>> ServerName freebsd.domain.net >>> ServerAlias freebsd.domain.net >>> DocumentRoot /usr/local/www/data >>> >>> >>> ...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/ > i get it with telnet, but even not with elinks or lynx :-( Roger