- Code: Select all
RewriteCond %{DOCUMENT_ROOT}/_cache%{REQUEST_URI}.html -f
RewriteRule ^(.+)$ _cache/$1.html [L]
But no success at all
The most similar code that works is this one
- Code: Select all
RewriteCond %{DOCUMENT_ROOT}/_cache/rgb.html -f
RewriteRule ^(.+)$ _cache/rgb.html [L]
so probably I am having problems with %{REQUEST_URI} variable.
any ideas?
Thank you