Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20381

Virtual Host example break REST API when the version is different than 1

    XMLWordPrintable

Details

    Description

      If you use the rewrite rules in confluence, https://confluence.ez.no/display/EZP/Virtual+host+example, you'll only be able to access the version 1 due to the following line

      RewriteRule ^/api/[^/]+/v1/ /index_rest.php [L]
      

      It should be

      RewriteRule ^/api/[^/] /index_rest.php [L]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pedro.resende-obsolete@ez.no Pedro Resende (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: