title: .htaccess: RewriteEngine not allowed here
body: <p>I uploaded the .htaccess to the server and received an <strong>Error 500 (Internal Server Error)</strong>.</p>
  
  <p>And in the error log I had the following error:</p>
  
  <p><strong>.../.htaccess: RewriteEngine not allowed here</strong></p>
  
  <p>But <code>mod_rewrite.so</code> is enabled.</p>
  
  <p>So, do I need to change</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride None
  &lt;/Directory&gt;
  </code></pre>
  
  <p>to</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride All
  &lt;/Directory&gt;
  </code></pre>
  
  <p>in the <strong>/etc/httpd/conf/httpd.conf</strong> file?</p>
  
  <p>Or could it be something else? The .htaccess file should be okay, because it works perfectly fine on my localhost. I just don't want to screw anything up.</p>
  
  <p>Here's part of my .htaccess file:</p>
  
  <pre><code>Options All -Indexes
  
  Options +FollowSymLinks
  
  RewriteEngine On
  </code></pre>