title: Wordpress permalinks not working - htaccess and module rewrite enabled
body: <p>I've set permalinks to /%postname%/, and have updated .htaccess in the root directory. The module rewrite is enabled on my machine (localhost). I can't think of any other reason why it's not working. Can anyone help me debug it?</p>
  
  <p>Here's the logged error:</p>
  
  <pre><code>127.0.0.1 - - [22/Jan/2014:10:27:57 +0000] "GET /olp/about/ HTTP/1.1" 404 497 "http://localhost/olp/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36"
  </code></pre>
  
  <p>Edit:</p>
  
  <p>.htaccess:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /olp/
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /olp/index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>WP is installed in localhost/olp, and .htaccess is in that same directory.</p>
  
  <p>Edit: more info. In my apache2.conf, I've got:</p>
  
  <pre><code>&lt;Directory "/var/www/"&gt; 
  Options FollowSymLinks 
  AllowOverride All 
  Order allow,deny 
  Allow from all 
  &lt;/Directory&gt;
  </code></pre>
  
  <p>Is this configuration correct?</p>