statcache
statcache copied to clipboard
Apache htaccess rules generate 500 error
Apache 2.2.26
PHP 5.3.28
The default Apache .htaccess settings described on the Wiki page generate a 500 error:
... RewriteCond: bad flag delimiters ...
This is due to the space used in RewriteCond %{USER_AGENT} "MODX RegenCache"
If you remove the space: RewriteCond %{USER_AGENT} "MODXRegenCache",
and also remove the space in the plugin property 'regenerate_useragent' this problem will be solved.
Just found another one:
RewriteRule .* - [E=CACHE_PREFIX:no cache] change to (remove space no_cache): RewriteRule .* - [E=CACHE_PREFIX:no_cache]