title: Redirect all requests to index.php
body: <p>I have a root folder <em>/var/www/minus_project</em> and only two files in it: <em>index.php</em> and <em>.htaccess</em>.</p>
  
  <p>How to make apache2 redirect all requests like <em>localhost.com/minus_project/<strong>some/url/here/...</em></strong> to index.php?
  My apache2 configuration</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerAdmin webmaster@localhost.com
          DocumentRoot /var/www/html
          Alias /phpinfo /var/www/phpinfo
          Alias /minus_project /var/www/minus_project
  
          ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>