Hi,
I've added the sling mapping rules by creating a node under map.publish -> http and created a node with name localhost.8080 and added the following property:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="nt:unstructured"
sling:internalRedirect="[/content/sample/en,/]"/>
Also, I've added the mapping rules in org.apache.sling.jcr.resource.internal.JcrFesourceResolverFactoryImpl.xml
resource.resolver.mapping="[/content/sample/en:/]"Now, page hierarchy is content -> sample -> en -> customers and when I try to access any page on publish instance e.g. http:localhost:4503/customers.html then it works fine. But, when the same customers page I try to access using web server http:localhost:8080/customers.html then it shows 404 error.
However, when I try to resolve both the publish and web server url in jcrresolver in felix console, then both are getting resolved to /content/sample/en/customers.
Is there anything am I missing here?
Best regards,
Madhukar