title: localhost .htaccess document root
body: <p>I have an htaccess file with a simple rewrite rule.</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([a-zA-Z0-9]+)/?$ index.php?page=$1
  </code></pre>
  
  <p>On my web server, the index.php file is in /var/www, and it works normally.</p>
  
  <p>On my local host, the index.php fle is in /var/www/projects/porto and while the file runs normally, no linked content ( images, css, etc ) is loaded.</p>
  
  <p>I am totally new to htaccess files. Any ideas on how to work around it so I can do my testing in my locan environment?</p>
  
  <p>All I've tried is changing my .htaccess file to</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([a-zA-Z0-9]+)/?$ /running/Porto/index.php?page=$1
  </code></pre>
  
  <p>But no luck.</p>