IP-Based Apache Config
Peter Cornelius
pcc at gmx.net
Tue Jun 1 10:24:19 UTC 2010
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
More information about the freebsd-questions
mailing list