-   Linux - Server (
-   -   How to Access Web Pages from /home/user/ (

Hi_This_is_Dev 12-16-2009 05:52 AM

How to Access Web Pages from /home/user/
Hi All,

After getting my web site accessible from /var/www/html/index.html now I want to access pages from user's home directory, eg.: /home/demo/web/aboutMe.html

I enabled user_dir in the configuration file and also set the permissions on the user's home directory and the public folder as mentioned in the httpd.conf file.

I am still getting the error:

Forbidden 403
... you are not authorized to access the web page... whatever.


/var/www/html/index.html has links similar to the one given below:


<a href="~demo/web/aboutMe.html"> About Demo </a>

dracofhc 12-16-2009 07:29 AM

Have you tried symlinking from /var/www to the home directory?

chrism01 12-16-2009 07:29 PM

Show your httpd.conf

All times are GMT -5. The time now is 11:29 AM.