You are not logged in.
Hello all. I recently installed lighttpd because I didn't feel the need for a big "bulky" http server like Apache... Anyways- I was wondering if there is anything similar to the ~/public_html folder that apache offers its users. My main reason for this is that I don't want to sudo into /home/lighttpd/html/.... to set up my webpage. I would like to do it from my main user account. Thanks for the help !
Offline
Enable mod_userdir in the modules,
and then add
userdir.path = "public_html"
somewhere in your config
more options and info here
http://lighttpd.net/documentation/userdir.html
Offline
Hi.
This is excellent stuff. And, yeah, i'm a lazy bastard who didn't read all the documentation in the first place
I used to 'chmod 0775 html' and add nobody to my additional groups, but this is much more clever.
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline