Solved

Apache and Linux

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 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

16 Experts available now in Live!

Get 1:1 Help Now