Just curious, did you set the user's directory?
chmod a+r /home/user
chmod a+r /home/user/public_html 

those commands should make the correct dirs open
for apache to let websurfers read what is in the files.

Hope this helps

On Mon, 02 Oct 2000, gene wrote:
> 
> 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 
> ><http://www.digitalpalace.net>www.digitalpalace.net I am trying to 
> >give my user his own webspace like 
> ><http://www.digitalpalace.net/~user>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 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

Reply via email to