statcache icon indicating copy to clipboard operation
statcache copied to clipboard

Apache htaccess rules generate 500 error

Open joeke opened this issue 11 years ago • 1 comments

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.

joeke avatar Nov 19 '14 10:11 joeke

Just found another one:

RewriteRule .* - [E=CACHE_PREFIX:no cache] change to (remove space no_cache): RewriteRule .* - [E=CACHE_PREFIX:no_cache]

ysanmiguel avatar Aug 30 '17 14:08 ysanmiguel