Accessing Web Pages from a User's Folder

Marti, Robert RJM002 at shsu.edu
Tue Dec 15 00:01:40 UTC 2009


Is selinux enabled?  Did you configure it correctly?

Sent from my iPhone

On Dec 14, 2009, at 17:59, "dustin at larmeir.com" <dustin at larmeir.com>  
wrote:

> Did you try chmod'ing the user's directory to 755?  - Dustin
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list- 
> bounces at redhat.com]
> On Behalf Of Devarishi Kumar Mahadeva
> Sent: Monday, December 14, 2009 5:17 PM
> To: redhat-list at redhat.com
> Subject: Accessing Web Pages from a User's Folder
>
> Hi,
>
>
> After installing and configuring Apache (Web Services) on RHEL 5.2 and
> creating an HTML file as /var/www/html/index.html I can browse the  
> home page
> without any problem. But if I want to access a particular user's  
> html file
> which is, for example, given as below:
>
> /home/demo/web/demo.html
>
> then how to do it? I enabled user_dir in the httpd.conf and set the
> permisisons on the user's home directory and the web folder as stated
> therein. By the error messgae is: 403 forbidden: You are not  
> authorised to
> access it... something like that.
>
> Can you help me with it?
>
> I have alink in the index.html file as given below:
>
> <a href="~demo/web/demo.html"> Demo's Page </a> and am not able to  
> browse
> it.
>
> Thanks,
> Dev.
>
>
>
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list