i have the following lines in my htaccess to rewrite the css files to another location:
RewriteCond {REQUEST_FILENAME} !-f [NC] OR RewriteCond {REQUEST_FILENAME} !-d [NC] RewriteRule ^\\/?(.*)\.(css|js)$ public/$2/$1.$2 [L,NC,NE] but when the site tries to load the files, there is an errer of a misconfiguration. the actual problem is the dot between $1 and $2. i think when the server finds the file then it gets into an infinite loop.
does anyone know the reason for that error?