gmorlet/prj/master/web/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST} ^localhost RewriteRule ^(.*)$ app_dev.php [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST} !^localhost RewriteRule ^(.*)$ app.php [QSA,L] </IfModule>
Files
![HTTP_HOST, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/gmorlet/prj-web-htaccess.png)