Hi,
Using etc/map configuration, we are hiding the .html at the end of the page url and are using short urls by hiding the /content/project. This works as expected and the page loads fine in publish environment. The link generated looks llike
https://www.mytestsite.com/homepage/page1/page2/page3.selector
However, when seen through dispatcher, the html source of the page is displayed instead of web content on the page. The response type is text/plain and not text/html.
My guess is that as the dispatcher does not see the .html and hence thinks of .selector as extension and returns html as plain text. Is that right?
Also, is there a way to bypass this issue?
Thanks in advance.
Chaitanya Pai
Solved! Go to Solution.
Views
Replies
Total Likes
It is expected & not a AEM or dispatcher issue. In your webserver configure mime type for selector to text/html in the file mime.types
Views
Replies
Total Likes
Hi Chaitanya,
First of all please check by clearing the cache.
Steps:
1.Stop apache service.
2.Clear all folders in dispatcher and start the dispatcher.
If not resolved, please send your dispatcher.any file .
Views
Replies
Total Likes
It is expected & not a AEM or dispatcher issue. In your webserver configure mime type for selector to text/html in the file mime.types
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies