title: Disable directory listing on apache; but access to individual files should be allowed
body: <p>I do not want to use .htaccess. How should I change my Directory attributes?</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerName abc.com
     DocumentRoot /usr/share/uploads
     &lt;Directory " /usr/share/uploads"&gt;
        Order allow,deny
        Allow from all
     &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>