Solved

Apache and Linux

Posted on 1997-08-25
2
196 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

12 Experts available now in Live!

Get 1:1 Help Now