Skip to main content
Oct 16, 2015 2:28 AM UTC
Solved

Resource not found

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.
sridhar_raghunaAccepted solution
Oct 16, 2015 2:28 AM UTC

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
Oct 16, 2015 2:28 AM UTC

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

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

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

Translate
joerghoh
Adobe Employee
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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

Translate