Resource not found | Community
Skip to main content
October 16, 2015
Solved

Resource not found

  • October 16, 2015
  • 3 replies
  • 1317 views

Hi,

 I am having issue with both the authoring and publishing instance while serving content, i have a product page for which i am passing in the material id the material id has forward slash in it ,so the request goes in as

/content/product/MD102LL%2FA

but sling is resolving it to 

/content/product/MD102LL/A/ and not returning the page.

Is there any setting on the server that i need to turn on .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sridhar_raghuna

was able to fix this issue by adding allow encoded slashes directive in apache httpd.conf file.Nothing to do with AEM. 

3 replies

sridhar_raghunaAuthorAccepted solution
October 16, 2015

was able to fix this issue by adding allow encoded slashes directive in apache httpd.conf file.Nothing to do with AEM. 

smacdonald2008
Level 10
October 16, 2015

The forward slash in the ID parameter is confusing AEM. You can look into using Sling URL mapping:

http://docs.adobe.com/content/docs/en/cq/5-6-1/deploying/resource_mapping.html

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

As Scott already wrote, the escaped forward slash might be the root cause. Can you replace it by a different character at least in the page (not necessarily the page title)? While there's nothing wrong to have "%2F" in a JCR name, Sling does not know, that in this special case it does not have un-escape it to "/".

kind regards,
Jörg