From 3a842799160693073c7e59d6e98d7cabe5dc5aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Sat, 2 Apr 2016 20:44:18 +0200 Subject: [PATCH] FIX: fix .htaccess so it can work properly with assets directory --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 041d6c43..dd9225f7 100644 --- a/.htaccess +++ b/.htaccess @@ -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 /\..*$ \ No newline at end of file +RedirectMatch 403 /\..*$