Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-21826

Issue with redirects in .htaccess conflicting with site directories

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Website
    • Labels:
      None
    • Project:
      Solr
    • Flags:
      Important

      Description

      We have an htaccess rule to redirect a pretty url for Solr CRDs to another location on the apache nightlies server:

      Redirect temp /charts https://nightlies.apache.org/solr/release/helm-charts
      RedirectMatch temp ^/operator/downloads/crds(/.*) https://nightlies.apache.org/solr/release/operator/crds$1

      These were both working perfectly, until we added a subdirectory solr.apache.org/operator, which has a page solr.apache.org/operator/downloads.html. Now the first redirect still works well (solr.apache.org/charts/*), however the second redirect no longer does (solr.apache.org/operator/downloads/crds/*).

      I'm not sure if this is an issue with htaccess, or pelican, but I've tried a lot of different options in the htaccess file and none of them have worked.

      I'd very much appreciate any option on how to proceed.

      This is currently affecting download locations that are linked to in our documentation for users wanting to get started with the project.

        Attachments

          Activity

            People

            • Assignee:
              dfoulks Drew Foulks
              Reporter:
              houston Houston Putman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: