mshishkov/social/master/web/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^www.(.*) [NC] RewriteRule ^/?(.*) http://%1/$1 [L,R=permanent] RewriteRule ^(css|images|js|admin-js|admin-css|fonts|tmpPhotos)/(.*)$ bundles/social/$1/$2 RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ app_dev.php [QSA,L] ### Use "app.php" if in production environment </IfModule>
Files
![HTTP_HOST, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/mshishkov/social-web-htaccess.png)