In the virtual host config file, specify a <Directory …> tag as follows when deploying to the live server:
<Location /myapp> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ app.php [QSA,L] </Location>
The ramblings of a software developer
In the virtual host config file, specify a <Directory …> tag as follows when deploying to the live server:
<Location /myapp> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ app.php [QSA,L] </Location>