Solved

Apache and Linux

Posted on 1997-08-25
2
211 Views
Last Modified: 2010-03-17
I´m trying to setup a simple Web server and my problem is this. When someone is trying to access his home directory through the web he is refused. "You have no access to ..."
And when I try to make a symblic linc I am forbidden as well. There´s no problem to access the .../htdocs/ - directory.
Best regards
Claes Lindvall
0
Comment
Question by:cl071997
2 Comments
 
LVL 2

Accepted Solution

by:
aleshka earned 100 total points
ID: 1586242
In you srm.conf (in RedHat distribution placed at /etc/httpd/conf) add following string:

UserDir html

in the user's home directory create directory named html, and place you web files there.

killall -HUP httpd

PS: you can use any other name instead of html.

0
 

Author Comment

by:cl071997
ID: 1586243
Thank you. What a difference. I noticed that if I just wrote UserDir . (dot) I could place my html-docs in the root of my home directory.

Once again thank you
Claes Lindvall
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now