title: Adding a directory to Apache Server
body: <p>I have a Windows XP system running XAMPP/Apache. I already have files on an external hard drive that I would like to serve up without moving them to the same drive as the Apache installation.</p>
  
  <p>Here is what I've tried so far:</p>
  
  <p>In the main HTTPD.conf file:</p>
  
  <blockquote>
    <p>Alias /client_files D:/clients/files</p>
    
    <p>&lt;Directory D:/clients/files></p>
    
    <p>Options Indexes FollowSymLinks MultiViews</p>
    
    <p>AllowOverride all</p>
  
  <pre><code>   Order Allow,Deny
          Allow from all
  </code></pre>
    
    <p>&lt;/Directory></p>
  </blockquote>
  
  <p>But the only result I got was :</p>
  
  <blockquote>
    <p>Access forbidden!</p>
    
    <p>You don't have permission to access the requested object. It is either read-protected or not readable by the server.</p>
    
    <p>If you think this is a server error, please contact the webmaster.</p>
    
    <p>Error 403</p>
    
    <p>localhost</p>
    
    <p>Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.6</p>
  </blockquote>
  
  <p>I also tried adding to the HTTPD-VHOSTS.conf file:</p>
  
  <blockquote>
    <p>ServerName client_files</p>
    
    <p>ServerAlias client_files</p>
    
    <p>DocumentRoot "D:/clients/files"</p>
  </blockquote>
  
  <p>And also:</p>
  
  <blockquote>
    <p>&lt;VirtualHost *:80></p>
    
    <p>ServerAdmin webmaster@dummy-host.example.com</p>
    
    <p>DocumentRoot "D:/clients/files"</p>
    
    <p>ServerName client_files</p>
    
    <p>ServerAlias client_files</p>
    
    <p>ErrorLog "logs/dummy-host.example.com-error.log"</p>
    
    <p>CustomLog "logs/dummy-host.example.com-access.log" common</p>
    
    <p>&lt;/VirtualHost></p>
  </blockquote>
  
  <p>But neither of these worked either. How in the world can I add another directory to an Apache installation and have it accesible via something like "localhost/client_files"?</p>
  
  <p>Any suggestions?</p>
  
  <p><em><strong>UPDATE:</em></strong> <em><strong>[SOLVED]</em></strong></p>
  
  <p>As per @Pedro Nunes's answer below, I now have my httpd.conf file with this section at the end of the file and which includes the line "Require all granted" which Pedro answered with and which now solves the issue:</p>
  
  <blockquote>
    <p>Alias /client_files D:/clients/files</p>
    
    <p>&lt;Directory D:/clients/files></p>
    
    <p>Require all granted</p>
    
    <p>Options Indexes FollowSymLinks MultiViews</p>
    
    <p>AllowOverride all</p>
  
  <pre><code>   Order Allow,Deny
          Allow from all
  </code></pre>
    
    <p>&lt;/Directory></p>
  </blockquote>