From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 10:24:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FA16106566B for ; Tue, 1 Jun 2010 10:24:19 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D76358FC16 for ; Tue, 1 Jun 2010 10:24:18 +0000 (UTC) Received: (qmail 17616 invoked by uid 0); 1 Jun 2010 10:24:16 -0000 Received: from 84.163.213.44 by www063.gmx.net with HTTP; Tue, 01 Jun 2010 12:24:15 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Tue, 01 Jun 2010 12:24:15 +0200 From: "Peter Cornelius" Message-ID: <20100601102415.57130@gmx.net> MIME-Version: 1.0 To: FreeBSD-Questions X-Authenticated: #491680 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 5 X-Provags-ID: V01U2FsdGVkX1/l8u01OmnlwslD1pwNPIkPpLGIWC7k8P5ng6odKE S0a5uSZdnQi0fMOVjNYtAGumc+L50NnJmUHA== Content-Transfer-Encoding: 8bit X-GMX-UID: 9+09eWpbeWUoS8jhdHVzqJIxU3U4Nw+Y X-FuHaFi: 0.58999999999999997 Subject: IP-Based Apache Config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 10:24:19 -0000 Hi there, I could need a quick hand from someone with apache22 and maybe apache-in-a-jail experience. I want to set up locally apache22 on a given IP (it's in a jail here) and use files for name service. nsswitch.conf does this per default so files take precedence -- if resolution worked that way which I currently am not that much sure about anymore. I set Servername to IP:80 just as to resolv-conf-hostname:80 after reading another post [1] and some more of the apache dox [2] (but left the rest of the config alone for the time being). A also do see the connection via tcpdump both at the router connected to the jail as well as the jail server itself as much as I see the connections in netstat both in and outside the jail. However, I do NOT see ANYthing in any apache logs, and tcpdump confirms that all that is established is the TCP connection. Also, when I telnet IP 80 and GET /, it goes into the server, and all remains quiet thereafter. I think I probably overlook something utterly obvious and simple but since I don't have any straws from logs to cling to, I currently don't seem to be able to get my head around it. Hence, any help appreciated. Thanks, Peter. --- [1] http://lists.freebsd.org/pipermail/freebsd-jail/2009-November/001057.html [2] http://httpd.apache.org/docs/2.2/dns-caveats.html -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01