Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache htaccess rules generate 500 error #22

Open
joeke opened this issue Nov 19, 2014 · 1 comment
Open

Apache htaccess rules generate 500 error #22

joeke opened this issue Nov 19, 2014 · 1 comment

Comments

@joeke
Copy link

joeke commented Nov 19, 2014

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.

@ysanmiguel
Copy link

Just found another one:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants