LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-16-2009, 05:52 AM   #1
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Rep: Reputation: 18
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:
Code:
Forbidden 403
... you are not authorized to access the web page... whatever.


Note:


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

Code:
<a href="~demo/web/aboutMe.html"> About Demo </a>
 
Old 12-16-2009, 07:29 AM   #2
dracofhc
Member
 
Registered: Dec 2005
Location: Kalamazoo, MI, US
Distribution: Gentoo
Posts: 44

Rep: Reputation: 16
Have you tried symlinking from /var/www to the home directory?
 
Old 12-16-2009, 07:29 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Show your httpd.conf
 
  


Reply

Tags
home, user



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search engine for for you docs and home web pages caulfiek Linux - Software 5 11-29-2005 08:12 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM
I can not access mu sip web pages. Everything else works. dnw Linux - Networking 2 04-28-2002 01:41 AM
restricting http web pages access nabil Linux - General 1 03-03-2002 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration