Skip to content

Conversation

@Castaglia
Copy link
Member

…their container set. configs are prepended, though.

To preserve both sets of behaviors better, mod_ifsession needs to use the appropriate merge flags for the different directive types, rather than always prepending, as it does now.

See 29507be for where the current behavior originated, and why (i.e. too much development focus on sections without keeping other configs in mind).

…their container set. <Directory> configs are prepended, though.

To preserve both sets of behaviors better, mod_ifsession needs to use the
appropriate merge flags for the different directive types, rather than always
prepending, as it does now.
@Castaglia
Copy link
Member Author

Should this behavior be configurable? Consider that, at present, mod_ifsession would merge a config directive via prepending to the set. And that means that that directive would be found first, before the previously-existing directives. Which might be the expected/desired behavior of such mod_ifsession-managed configurations.

To better decide, I'll need to do some testing with mod_ifsession using order-sensitive directives, such as those from mod_rewrite.

@Castaglia Castaglia self-assigned this Feb 21, 2025
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

Successfully merging this pull request may close these issues.

2 participants