Apache Not Accepting a Path in My Home Folder
- by Promather
I have trying to set up an Apache site to use a folder in my home folder without any success. I exactly followed the steps in this page:
https://help.ubuntu.com/community/ApacheMySQLPHP
yet I did not succeed; I keep getting error 403, which says that the server doesn't have permission to access the requested page. I searched forums and many suggested changing the permission of the folder. I went straight away and set the permission to 777, but that didn't solve the problem.
I made another search and somebody gave me a clue, which is that it could be because my home folder is encrypted. I believe this could be the problem, but:
What is the relation between encryption and Apache? I suppose Apache server is requesting the file from the system, rather than trying to access the file bytes!
Is there anyway to solve this problem? I don't want to move the folder to /var/www because I am using this Apache for testing, so I want whatever change I make to be immediately reflected, rather than having to copy files which is error prone.