Solved

Apache and Linux

Posted on 1997-08-25
2
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

635 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