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

Organize RewriteCond and RewriteRules in groups #110

Open
kornicameister opened this issue Aug 10, 2021 · 0 comments
Open

Organize RewriteCond and RewriteRules in groups #110

kornicameister opened this issue Aug 10, 2021 · 0 comments

Comments

@kornicameister
Copy link

If I understand Apache configuration correctly, RewriteCond or a lot of them are there to support when RewriteRule should happen. Would it make sense to provide have them grouped together?
Consider following example

RewriteCond ... [OR]
RewriteCond ... [OR]
RewriteRule ...

that outputs as something like:

rules: {
  '{rewrite_str}': [{conditions}]
}

not quite sure how to model conditions (AND and OR) but intention should be clear enough?

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

1 participant