title: Cannot disable Directory Listing in httpd.conf
body: <p>I just installed XAMPP on my personal CentOS box and when I try to disable <code>Directory Listing</code> I get an Apache error when restarting. My <code>httpd.conf</code> file looks like this after I make the changes:</p>
  
  <p><strong>httpd.conf</strong></p>
  
  <pre><code>Alias /bitnami/ "/opt/lampp/apache2/htdocs/"
  Alias /bitnami "/opt/lampp/apache2/htdocs"
  
  &lt;Directory "/opt/lampp/apache2/htdocs"&gt;
      Options -Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <pre><code>XAMPP: Starting Apache...fail.
  AH00526: Syntax error on line 5 of /opt/lampp/apache2/conf/httpd.conf:
  Either all Options must start with + or -, or no Option may.
  </code></pre>
  
  <p>I have tried removing Indexes all together and I can still see my directories. Maybe I'm in the wrong file, but from what I've read disabling directory listing has to be made here or .htacces (which I am trying to avoid.) In case it comes up I have made sure to restart XAMPP every time I made changes.</p>