Apache - how to serve from a directory inside home folder, whereas home folder doesn't has any publi
- by Vikrant Chaudhary
Hi,
I'm using Apache2 for completely local development purposes. I'm trying to make DocumentRoot to be /home/vikrant/www/ whereas permissions of /home/vikrant/ are 700.
I'm getting 403 Forbidden when DocumentRoot is /home/vikrant/www/ however It Works! when DocumentRoot is /var/www/.
I've even changed permissions of /home/vikrant/www/ to 777 and changed owner and group to www-data.
Is it possible to serve from home directory whereas home directory doesn't has public permissions? If yes, then how?