Open hprata opened 6 years ago
Please try this and tell me if it gets your further. :)
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* dynamiccache/cache-main.php?url=%1 [QSA]
I've just tried this locally, CSS and JS load fine for me with either variant of the RewriteRule and are delivered with appropriate MIME types. @tractorcow just curious - what's different about the revised version? @hprata did the revised version fix the issue for you?
Well, one has the additional 2 x RewriteCond, and I'm not sure if @hprata's one does.
seems out of date, worth closing?
all links break. CSS and JS requirements do Not load Site loads home page but without requirements and nothing else can be accessed. Not even /dev/* Did not parse stylesheet at '*****/font-awesome.min.css?m=1478192886' because non CSS MIME types are not allowed in strict mode.
the rewrite rule seems to not work RewriteRule .* dynamiccache/cache-main.php?url=%1&%{QUERY_STRING} [L]