title: You don't have permission to access / on this server ubuntu 14.04
body: <p><strong>Agenda:</strong> To have an common Project Folder between Linux and Windows</p>
  
  <p>I have changed my document root from : <code>/var/www/html</code> to <code>/media/mithun/Projects/test</code> in my ubuntu machine 14.04</p>
  
  <p>I get error as :</p>
  
  <blockquote>
    <p><strong>Forbidden</strong></p>
    
    <p>You don't have permission to access / on this server.</p>
    
    <p>Apache/2.4.7 (Ubuntu) Server at localhost Port 80</p>
  </blockquote>
  
  <p>So i added some scripts to : <code>sudo gedit /etc/apache2/sites-available/000-default.conf</code> </p>
  
  <pre><code># DocumentRoot /var/www/html
    DocumentRoot /media/mithun/Projects/test
  </code></pre>
  
  <p>But <code>Document Root /var/www/test</code> works but not with <strong>Windows NTFS Partition Drive</strong>.</p>
  
  <p>Even after referring to :</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server">Error message &quot;Forbidden You don&#39;t have permission to access / on this server&quot;</a></li>
  <li><a href="https://stackoverflow.com/questions/28386551/issue-with-my-ubuntu-apache-conf-file-forbidden-you-dont-have-permission-to-a">Issue with my Ubuntu Apache Conf file. (Forbidden You don&#39;t have permission to access / on this server.)</a></li>
  </ol>
  
  <p>No success :( So kindly assist me with it...</p>
  
  <p><strong>Note:</strong> <strong>Projects</strong> is an <strong>New Volume</strong> (Internal Drive: In Windows its E:/ Drive)</p>
  
  <blockquote>
    <p><strong>@Lmwangi -</strong> Please check my updates for your reference below:</p>
    
    <p><strong>Output of :</strong> <code>ls /etc/apparmor.d/</code></p>
  
  <pre><code>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
  </code></pre>
    
    <p><strong>I tried killing apparmor:</strong></p>
    
    <p>sudo /etc/init.d/apparmor kill</p>
    
    <p><strong>I receive output as :</strong> <code>Usage: /etc/init.d/apparmor
    {start|stop|restart|reload|force-reload|status|recache}</code></p>
    
    <p><strong>After this, i was also able to restart apache successfully</strong></p>
  </blockquote>