Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jun 2010 12:24:15 +0200
From:      "Peter Cornelius" <pcc@gmx.net>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   IP-Based Apache Config
Message-ID:  <20100601102415.57130@gmx.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100601102415.57130>