The 'rspirep' directive is deprecated in favor of 'http-response replace-header'
-
I've had this setting for longer than I can remember:
rspirep ^(Set-Cookie:.*)\ Domain=domain.com(.*) \1\ Domain=server.domain.com\2 if hdr_set_cookie_dom
And of course it just broke on update, and I'm having a hard time figuring out what the syntax is to replace it with http-response replace-header.
Can anyone assist me? -
This is in HAProxy?
What did you update from?
Steve
-
The built-in setting for cookie protection uses the new syntax in the newest version of the package on Plus 23.05.1/CE 2.7.0:
https://redmine.pfsense.org/issues/13343You may be able to use the syntax from that as a guide for your custom settings if you even still need them rather than using the GUI options.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.