Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10643

apache : redirect and redirectmatch status behave different

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • None
    • apache
    • None
    •  

      puppet 4.10.12

      puppetlabs-apache 2.3.1

    • Hide

      Solution is probably in the erb template which I'm not familiar enough with:
      code/environments/production/modules/apache/templates/vhost/_redirect.erb

      Workaround for me is to leave out the redirectstatus in the template and prefix the  redirectmatch_source with the statuscode.

      Show
      Solution is probably in the erb template which I'm not familiar enough with: code/environments/production/modules/apache/templates/vhost/_redirect.erb Workaround for me is to leave out the redirectstatus in the template and prefix the  redirectmatch_source with the statuscode.
    • Needs Assessment
    • Needs Assessment

    Description

      Basic Info
      Module Version: 2.3.1
      Puppet Version: 4.10.12
      OS Name/Version: debian 9

      Describe your issue in as much detail as possible...

      Desired Behavior: redirect_status and redirectmatch_status behave alike when using arrays and setting only one redirectstatus

      Actual Behavior: redirectmatch_status only uses as many array elements as redirectmatch_statuses are given while redirect_source/dest can use multiple elements while only one redirect status is given (e.g. permanent)

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tkn Thomas Knevels
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support