On 12/27/14 10:10, Ed Ahlsen-Girard wrote:
httpd doesn't serve pages on my Dec24 snapshot system (hasn't ever,
actually).
I am missing something really obvious. httpd exits logging thusly:
Dec 27 10:05:07 $hostname httpd[28709]: fatal: send server: Can't assign
requested address
rc.conf.local and httpd.conf files are below. httpd.conf sets
$ext_addr to "egress", but I do not know where egress is defined, or if
I should replace it. Replacing it with the address bound to the
(single) interface did not change anything.
The box uses dhcp but has a reservation: address is always the
same.
Try deleting everything but the following in httpd.conf:
# $OpenBSD: httpd.conf,v 1.11 2014/08/25 14:27:54 reyk Exp $
#
# Macros
#
ext_addr="egress"
#
# Global Options
#
# prefork 3
#
# Servers
#
# A minimal default server
server "default" {
listen on $ext_addr port 80
}