Why dispatcher is showing the html source instead of the actual content ? | Community
Skip to main content
Karmaker
October 16, 2015
Solved

Why dispatcher is showing the html source instead of the actual content ?

  • October 16, 2015
  • 2 replies
  • 747 views

Instead of displaying the actual geometrixx page, I am seeing the html source of content/geometrixx-outdoors/en.html when accessed via dispatcher.

http://localhost:4503/content/geometrixx-outdoors/en.html  : Works fine

http://localhost/content/geometrixx-outdoors/en.html : Shows the source of the en.html

AEM Version : 5.6.1

Dispatcher Version : 4.1.9 (https://www.adobeaemcloud.com/content/companies/public/adobe/dispatcher/dispatcher/_jcr_content/top/download_37/file.res/dispatcher-apache2.2-windows-x86-4.1.9.zip)

OS : Windows 8 [32 bit] ( All the setup runs in my laptop)

 Apache Web Server Version : 2.2.5

I have provided both dispatcher.any and httpd.conf from my side as an attachment in a single file.

I followed the instruction provided under https://docs.adobe.com/docs/en/dispatcher/disp-install.html

Any help is much appreciated.

Following is the configuration (default) available under mime.types file in Apache

text/html     html htm
text/plain     txt text conf def list log in
 

 

Following is the error from dispatcher logs

 

[Wed Jun 03 20:45:13 2015] [D] [6236(468)] Found farm website for localhost
[Wed Jun 03 20:45:13 2015] [D] [6236(468)] checking [/content/geometrixx-outdoors/en.html]
[Wed Jun 03 20:45:13 2015] [D] [6236(468)] never flushed [\opt\communique\dispatcher\cache\.stat] -> use cache [\opt\communique\dispatcher\cache\content\geometrixx-outdoors\en.html]
[Wed Jun 03 20:45:13 2015] [D] [6236(468)] cache-action for [/content/geometrixx-outdoors/en.html]: DELIVER
[Wed Jun 03 20:45:13 2015] [D] [6236(468)] request declined
[Wed Jun 03 20:45:13 2015] [I] [6236(468)] "GET /content/geometrixx-outdoors/en.html" - - 0ms
 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Karmaker

Problem Solved.

Even though I later added ModMimeUsePathInfo to the dispatcher.any, I didn't flush the cache. After flushing the cache, I manage to view the geometrixx page properly.

The source of the HTML was coming instead of actual content is due to the missing ModMimeUsePathInfo configuration in dispatcher.any

2 replies

smacdonald2008
Level 10
October 16, 2015

Thank you for posting the solution!

Karmaker
KarmakerAuthorAccepted solution
October 16, 2015

Problem Solved.

Even though I later added ModMimeUsePathInfo to the dispatcher.any, I didn't flush the cache. After flushing the cache, I manage to view the geometrixx page properly.

The source of the HTML was coming instead of actual content is due to the missing ModMimeUsePathInfo configuration in dispatcher.any