Title: Re: [newbie] Apache user webspace
At 11:07 AM -0700 10/2/00, --mike wrote:
Hello,
 
I have a webserver up and running on my Linux box (Mandrake 7.1).  My domain name is www.digitalpalace.net I am trying to give my user his own webspace like www.digitalpalace.net/~user .  I have copied the httpd folder in the home directory into the users directory.  I have also tried creating a folder called public_html and putting the index.html file inside that.  When I did these things I get an 'access forbiden' error when I point my browser to the website.  I have also changed the permissions on both the public_html folder and the index.html file.  The only thing I can think of is there is a configuration in the /etc/httpd/conf/httpd.conf file.  Below is a clipping of my httpd.conf file.  It looks good to me.
 
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.
 
UserDir public_html
 

With that setting,  http://www.digitalpalace.net/~user/index.html should point to /home/user/public_html/index.html.  You have to make sure that not only is index.html world-readable, but also the public_html directory and the user directory.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  smalltime industries bringing you the latest in
  interplanetary transport technology, interactive
  web games, dada, art, poetry and pants.
  www.smalltime.com  ...... visit early and often -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to