Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Apache and Linux

Posted on 1997-08-25
2
Medium Priority
?
242 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 400 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

722 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