Skip to content

Organize RewriteCond and RewriteRules in groups #110

Description

@kornicameister

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions