Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 1

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/...

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
 

1 Accepted Solution

Avatar

Correct answer by
Level 1

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 1

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

Avatar

Level 10

Thank you for posting the solution!