Skip to content

Organize RewriteCond and RewriteRules in groups #110

@kornicameister

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?

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