we have already a predefined set of etc/mappings done so that both the domain can map to the content path and the path can reverse map to the domain name (which would enable shortened URL's in the live websites)
PFB set configurations from crx as the screenshot and the resource resolver configs.
Mapping Map Entries Lists the entries used by the ResourceResolver.map methods to map Resource Paths to URLs
* there is a , to the end of the mapping configuration in the below screenshot, which will create the reverse mapping to the domain
we recently wanted to remove the .html extension and we have made necessary changes at Apache, but because of the above setup AEM is responding as below. Any suggestions to fix either mappings or a way to remove html at apache level would help us.