title: RewriteRule on localhost
body: <p>localhost, xampp, win 7<br>
  site root folder is <code>s02</code>, so all relevant files, including <code>.htaccess</code> is under this folder.</p>
  
  <p>links like this work fine:<br>
  <code>http://localhost/news/s02/view.php?art=160915142500&amp;title=blue-sky</code></p>
  
  <p>I want the following computed url<br>
  <code>http://localhost/articles/160915142500/blue-sky</code></p>
  
  <p><strong>.htaccess</strong>  </p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  RewriteRule ^articles/([0-9]+)/([a-zA-Z-_]*)$ view.php?art=$1&amp;title=$2 [NC,L]
  </code></pre>
  
  <p>result - error 404</p>
  
  <p><strong>httpd.conf</strong><br>
  <code>LoadModule rewrite_module modules/mod_rewrite.so</code> - uncommented<br>
  <code>AllowOverride All</code></p>
  
  <p><strong>.htaccess (test)</strong> - this works: </p>
  
  <pre><code>RewriteEngine on
  RewriteRule ^ http://example.com/? [L,R]  
  </code></pre>
  
  <p><strong>phpinfo();</strong><br>
  <code>mod_rewrite</code> is under <code>Loaded Modules</code></p>
  
  <p>Any help?</p>