You are not logged in.

#1 2006-03-12 03:50:14

banana989
Member
Registered: 2004-06-03
Posts: 60

lighttpd and public_html

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

#2 2006-03-12 05:10:13

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: lighttpd and public_html

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

#3 2006-11-27 16:41:00

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: lighttpd and public_html

Hi.
This is excellent stuff. And, yeah, i'm a lazy bastard who didn't read all the documentation in the first place smile
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

Board footer

Powered by FluxBB