'/var/www
' is where you should look. Most distros (actually, I don't know any that is not) put it there.
I would say it kind of depends on the configuration of your server.
Still, maybe something like /var/www
would do, if it exists : this is the default, with many Linux distributions, for the HTTP root folder.
If it's not there, you should try to find the configuration file for Lighttpd (something like lighttpd.conf
, probably somewhere under /etc
) ; in that file, there should be the path for the server.document-root
.
For more informations : Lighttpd - TutorialConfiguration
That totally depends on your server configuration so your only reliable source of information should be lighttpd's configuration file which (if installed globally) should normally be within the /etc folder (e.g. /etc/lighttpd/lighttpd.conf).
Popular locations for the htdocs folder are /var/www or somewhere within /srv.
Actually, I believe that Arch Linux uses /srv/http as default in the apache-config (not sure about lighttpd though). However, it's easy to change.
Other than that, just look in the lighttpd-configuration file and you'll find your answer :)
Just looked it up. Arch Linux sets the documentroot to /src/http for both apache and lighttpd fyi.