lighttpd and 404 error

2014-10-29 Thread scar
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 =

Re: lighttpd and 404 error

2014-10-29 Thread Eric Haszlakiewicz
On October 29, 2014 1:16:03 AM EDT, 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. Try

Re: lighttpd and 404 error

2014-10-29 Thread dieter roelants
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

Re: lighttpd and 404 error

2014-10-29 Thread scar
dieter roelants wrote on 10/29/2014 04:56 AM: You need to enable dir-listing; see http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDirlisting 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

Re: lighttpd and 404 error

2014-10-29 Thread J. Lewis Muir
On 10/29/14 11:33 AM, scar wrote: and my ~/public_html dir has mode 755 and owned by scar.users What are the permissions and ownership of your home dir? Lewis

Re: lighttpd and 404 error

2014-10-29 Thread scar
J. Lewis Muir wrote on 10/29/2014 01:35 PM: On 10/29/14 11:33 AM, scar wrote: and my ~/public_html dir has mode 755 and owned by scar.users What are the permissions and ownership of your home dir? thanks!!! i had forgotten about the o+x mode on ~