i installed lighttpd from pkgsrc, version lighttpd-1.4.35nb1 and i'm just trying to test out the server and get a directory listing of the server root. but when i try to browse to http://localhost i am getting a 404 error.
in lighttpd.conf: var.server_root = "/srv/www" server.document-root = server_root + "/htdocs" /srv didn't even exist so i thought i'd create those directories but unfortunately that hasn't solved the issue. is it a permissions problem? everything was owned by root.wheel: # ls -laR /srv total 6 drwxr-xr-x 3 root wheel 512 Oct 28 21:19 ./ drwxr-xr-x 22 root wheel 512 Oct 28 21:19 ../ drwxr-xr-x 3 root wheel 512 Oct 28 22:00 www/ /srv/www: total 6 drwxr-xr-x 3 root wheel 512 Oct 28 22:00 ./ drwxr-xr-x 3 root wheel 512 Oct 28 21:19 ../ drwxr-xr-x 2 root wheel 512 Oct 28 22:00 htdocs/ /srv/www/htdocs: total 4 drwxr-xr-x 2 root wheel 512 Oct 28 22:00 ./ drwxr-xr-x 3 root wheel 512 Oct 28 22:00 ../ # nothing is logged to error.log, and in access.log there's just a bunch of lines like this: 127.0.0.1 localhost - [28/Oct/2014:22:02:31 -0700] "GET / HTTP/1.0" 404 345 "-" "Lynx/2.8.7rel.2 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.1i"
