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

Reply via email to