Details
-
Bug
-
Resolution: Not an issue
-
Normal
-
None
-
None
-
None
-
None
Description
Steps to reproduce
- Start a Magnolia instance and import the attached light module (first-module) which has a virtualUriMapping configuration
- Go to Site app and import the attached file config.modules.multisite.config.sites.mySite.xml
- Go to Pages-app and import the attached file website.mySite.yaml
- Navigate to http://localhost:8080/magnoliaAuthor/mySite/allowed/page1Â and check that the page is shown as expected, 200 result and no 301 redirect
- Navigate to http://localhost:8080/magnoliaAuthor/mySite/forbidden/page1 and check that the page is shown as expected, 200 result and no 301 redirect
Expected results
/mySite/forbidden/page1 doesn't match the pattern so no redirect
/mySite/allowed/page1 does match the pattern so it goes through 301 redirect (permanent)
Actual results
/mySite/allowed/page1 doesn't match the pattern so its server as 200
Workaround
N/A
Development notes
Check the debug attachment
Checklists
Acceptance criteria