NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lighttpd and 404 error



On Wed, Oct 29, 2014 at 6:16 AM, scar <scar%drigon.com@localhost> wrote:
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"

You need to enable "dir-listing"; see http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDirlisting

kind regards,
dieter


Home | Main Index | Thread Index | Old Index