Koozali.org: home of the SME Server

Apache/UserDir

Brian Leggett

Apache/UserDir
« on: November 08, 2001, 11:20:22 AM »
I would like to host some of my users' websites but coming to a snag. Whenever someone types in "http://www.thewhizzardslair.net/~whizzard/", for example, they get a error 403 - Forbiden.

I have copied the /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50UserDir00 to /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/ and edited it:

Code: [Select]
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.

UserDir public_html
UserDir disabled root

Then ran /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf and restarted httpd. I even created a ~/public_html directory for each user.

If anyone has any input or need more info, please let me know.

Thanks,
Brian

Brian Leggett

Re: Apache/UserDir
« Reply #1 on: November 08, 2001, 12:27:05 PM »
Ahh....figured it out. Needed to chmod 755 to the ~/USER/public_html