NetBSD-Users archive

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

Re: lighttpd and 404 error

dieter roelants wrote on 10/29/2014 04:56 AM:
> You need to enable "dir-listing"; see

alright thanks i had to enable it in "conf.d/dirlisting.conf" and now i
can see the document root
but i am still getting 404 error when i try to access /~scar/ e.g.
(~/public_html) even though i enabled it i thought...  in lighttpd.conf
it has include "modules.conf" and in modules.conf i uncommented the line:
include "conf.d/userdir.conf" and then in userdir.conf it has
userdir.path = "public_html" localhost - [29/Oct/2014:09:25:02 -0700] "GET /~scar HTTP/1.0"
301 0 "-" localhost - [29/Oct/2014:09:25:05 -0700] "GET /~scar/
HTTP/1.0" 404 345 "-"

and my ~/public_html dir has mode 755 and owned by scar.users

Home | Main Index | Thread Index | Old Index