• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

The 'rspirep' directive is deprecated in favor of 'http-response replace-header'

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 3 Posters 166 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    blueh2o
    last edited by blueh2o Jul 13, 2023, 8:04 PM Jul 13, 2023, 8:04 PM

    Re: [WARNING] The 'rspirep' directive is deprecated in favor of 'http-response replace-header' and will be removed in next version.

    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?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jul 13, 2023, 9:01 PM

      This is in HAProxy?

      What did you update from?

      Steve

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jul 14, 2023, 12:35 PM

        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/13343

        You 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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 1
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received