Currently we have a "/etc/map/https" configuration on our publish environment (author & publish are hosted on 2 different servers).
This is because all the urls on the publish environment need to be user friendly. we don't want to publish urls containing "/content/en_us/path/index.html", but we want "en_us/index.html". This is working fine on the publish environment.
But now we have integrated Adobe Campaign in AEM and Campaign is connected to the Author instance (like the documentation has described Integrating with Adobe Campaign 6.1) It doesn't connect to the publish environment but author.
The problem now is that all the urls also need to be transformed to a "en_us/index.html" like URL. when campaign fetches the content from author.
We can set the same etc/map configuration on the author instance. this will solve the problem, but it also creates another one.
When setting up the '/etc/map' configuration on author, all the urls in edit, preview, design mode will rewrite the urls to the publish instance. ( the etc/map configuration contains the publish domain) and this is something we don't want.
When authoring (editing, setting pages up) we want to direct to page in the author instance itself, we don't want to redirect to the publish instance. for authoring/testing purposes on the author instance.
Is it possible to only execute the etc/map configuration in wcmmode disabled or something?
Can you check jcr resource resolver mapping for your index page e.g. /content/en_us/path/index.html in felix console, If it is giving you the publish url then i think for author you need to create new sling mapping with its domain name.