I am trying to set-up lighttpd to have a vhost pointing at wallabag installation. Currently I have not made many changes from the default lighttpd.conf apart from to change the server.document-root to "/var/www/wallabag/web". With those settings when accessing the server IP I get an idex of the files contained in /wallabag/web rather than it automatically loading app.php. If I click app.php the app will load fine and work, but wanting to have it load by default.
If I change the lighttpd.conf to then include app.php in the index-file.names I get a 404 - Not Found error. The reason for this appears to be that it tries to load myserver.example/login whereas with the other configuration it goes to myserver.example/app.php/login.
I am assuming there is something minor I am missing from the settings but I can't find an answer when searching.
For reference it is a Raspberry Pi 2 with the jessie version of raspbian that lighttpd is installed on.
Thanks in advance for any help or suggestions.