FIX: fix .htaccess so it can work properly with assets directory

This commit is contained in:
Michal Kváček
2016-04-02 20:44:18 +02:00
parent 5178c7236b
commit 3a84279916
+2 -2
View File
@@ -11,7 +11,7 @@ RewriteRule ^ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(css|js|images)/(.*)$ public/$1/$2 [L,NC]
RewriteRule ^(assets)/(.*)$ public/$1/$2 [L,NC]
#disable viewing all hiden files
RedirectMatch 403 /\..*$
RedirectMatch 403 /\..*$