Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Resource not found

Avatar

Level 1

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 .

1 Accepted Solution

Avatar

Correct answer by
Level 1

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

View solution in original post

3 Replies

Avatar

Employee Advisor

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

Avatar

Correct answer by
Level 1

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