title: How do I make htaccess work in WAMP?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4391530/how-to-use-htaccess-in-wamp-server">How to use .htaccess in WAMP Server?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm using Wamp Server 2.0 on Windows 7 (32-bit) and want to make use of .htaccess files. I'm kinda new to server configs in general but from what I understand I have to "activate" usage of htaccess files in the httpd.conf file of Apache?</p>
  
  <p>I have done the following:</p>
  
  <p>In my httpd.conf file I've added these lines:</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride All
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Then I created a .htaccess file in my sites root directory with the following lines</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  
  RewriteRule ^articles/([A-Za-z0-9-]+) /articles/index.php?slug=$1%{QUERY_STRING} [PT, L]
  </code></pre>
  
  <p>However, I keep getting 500 Internal Server Errors when I try to load up the page. If I comment out the RewriteRule it works though. I can't figure out what I'm doing wrong.</p>