-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow RewriteInherit with empty rewrites #2301
Conversation
There might be cases where you exclusively want to inherit RewriteRules from e.g. global scope without specifying vHost-specific rewrites - which is now allowed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test case for this?
b84a3a2
to
d5048b5
Compare
Sure, I updated the existing one for empty rewrites with rewrite_inherit = false and added a second one - hope that's sufficient: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@martin-koerner This change looks good to me and the test coverage seems sufficient. Thanks for putting in the work :) |
There are cases where you want to exclusively inherit RewriteRules from e.g. global scope without specifying vHost-specific rewrites - which is now allowed again.