Virtual Hosts located in home dirs
Hi, I'm trying to set up some virtual hosts. I want my actual data to be inside the home dir of the user. From what I've been trying, I always get 403s. When I move the data outside the home, let's say /www/site it works. Here's what I think might work but won't:
Make /www/sitename/ a symlink to /home/user/sitename
Then set the Virtual Host to /www/sitename
That way the data lives at /home/user/sitename
This did not actually work. Any other ideas on how to get this to work where the data is inside of the home dirs? I absolutely need the data in the home dirs, as the RAID was made so the /home has a ton of space.
I also tried to make /home/user/site be owned by apache and the in group apache. That also didn't work. I even went as far as adding the user to the apache group; didn't work.
Any help is appreciated. I'm really willing to do anything as long as the actual data lives inside of the home dir of the user. I'm willing to change permissions and groups/owners of various dirs if necessary.
Thanks in advance.
|
Recent comments
1 day 29 min ago
1 day 7 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 21 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 15 hours ago
2 days 15 hours ago