Agenda: To have an common Project Folder between Linux and Windows
I have changed my document root from : /var/www/html
to /media/mithun/Projects/test
in my ubuntu machine 14.04
I get error as :
Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
So i added some scripts to : sudo gedit /etc/apache2/sites-available/000-default.conf
# DocumentRoot /var/www/html
DocumentRoot /media/mithun/Projects/test
But Document Root /var/www/test
works but not with Windows NTFS Partition Drive.
Even after referring to :
- Error message "Forbidden You don't have permission to access / on this server"
- Issue with my Ubuntu Apache Conf file. (Forbidden You don't have permission to access / on this server.)
No success :( So kindly assist me with it...
Note: Projects is an New Volume (Internal Drive: In Windows its E:/ Drive)
@Lmwangi - Please check my updates for your reference below:
Output of :
ls /etc/apparmor.d/
abstractions lightdm-guest-session usr.bin.evince usr.sbin.cupsd cache local usr.bin.firefox usr.sbin.mysqld disable sbin.dhclient usr.lib.telepathy usr.sbin.rsyslogd force-complain tunables usr.sbin.cups-browsed usr.sbin.tcpdump
I tried killing apparmor:
sudo /etc/init.d/apparmor kill
I receive output as :
Usage: /etc/init.d/apparmor {start|stop|restart|reload|force-reload|status|recache}
After this, i was also able to restart apache successfully