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 <> 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

kind regards,

Home | Main Index | Thread Index | Old Index