Accessing Web Pages from a User's Folder
dustin at larmeir.com
dustin at larmeir.com
Mon Dec 14 23:58:27 UTC 2009
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
More information about the redhat-list
mailing list