Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1984

Allow for somewhat more flexible wildcards in remap.config

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • sometime
    • Configuration, HTTP
    • None

    Description

      Today, we support one "wildcard" mechanism, which is a catch-all:

      map / http://www.example.com/
      

      This is somewhat useful, but typically people end up using it together with e.g. the regex-remap plugin to make it usable. I think a couple of small additions would make it much better

      1. Allow for wildcard by scheme (e.g. map http:/// and map https:///)

      2. Allow for wildcards to restrict to port (e.g. map http:///:8080)

      There is the "regex_map" that can maybe accomplish this, but it feels like if we are supposed to have wildcards.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: