Apache Not Accepting a Path in My Home Folder

Posted by Promather on Stack Overflow See other posts from Stack Overflow or by Promather
Published on 2011-02-06T15:19:05Z Indexed on 2011/02/06 15:25 UTC
Read the original article Hit count: 401

Filed under:
|

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:

  1. 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!

  2. 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.

© Stack Overflow or respective owner

Apache Not Accepting a Path in My Home Folder

Posted by Promather on Ask Ubuntu See other posts from Ask Ubuntu or by Promather
Published on 2011-02-06T15:29:21Z Indexed on 2011/02/06 15:33 UTC
Read the original article Hit count: 401

Filed under:
|

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.

© Ask Ubuntu or respective owner

Related posts about apache

Related posts about apache2