Expand my Community achievements bar.

SOLVED

CQ Dispatcher Not caching content to Doc Root

Avatar

Former Community Member

I am working on configuring CQ dispatcher ( author) on centOs virtual machine..After done with all the steps I am able to access CQ pages using host name and apache port ( 55.55.55.5:80) . But I am unable to see any content in doc root of apache i.,e /var/www/html. Please find the dispatcher log below and do the needful

Note : Since SElinux creating some problems,I have disabled Selinux policy on my virtual machine..now SElinux is disabled

 

[Wed Oct 08 19:07:02 2014] [D] [5092(140412258412512)] Dispatcher initializing (build 4.1.8)
[Wed Oct 08 19:07:02 2014] [D] [5092(140412258412512)] farms[website].cache.docroot = /var/www/html
[Wed Oct 08 19:07:02 2014] [I] [5092(140412258412512)] Dispatcher initialized (build 4.1.8)
[Wed Oct 08 19:07:02 2014] [D] [5093(140412258412512)] Dispatcher initializing (build 4.1.8)
[Wed Oct 08 19:07:02 2014] [D] [5093(140412258412512)] farms[website].cache.docroot = /var/www/html
[Wed Oct 08 19:07:02 2014] [I] [5093(140412258412512)] Dispatcher initialized (build 4.1.8)
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Found farm website for 55.55.55.5
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] checking [/libs/cq/ui/widgets/themes/default/widgets/wcm/Sidekick/item-over.gif]
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] request contains authorization
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] cache-action for [/libs/cq/ui/widgets/themes/default/widgets/wcm/Sidekick/item-over.gif]: NONE
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Connected to backend rend01 (55.55.55.5:4502)
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Host
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: User-Agent
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Accept
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Accept-Language
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Accept-Encoding
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Referer
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Cookie
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Via
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: X-Forwarded-For
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] Adding request header: Server-Agent
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] response.status = 200
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] response.headers[Content-Type] = "image/gif"
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] response.headers[Date] = "Wed, 08 Oct 2014 13:37:20 GMT"
[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] response.headers[Last-Modified] = "Wed, 08 Oct 2014 11:57:58 GMT"
[Wed Oct 08 19:07:20 2014] [I] [5096(140412258412512)] "GET /libs/cq/ui/widgets/themes/default/widgets/wcm/Sidekick/item-over.gif" 200 176 13ms
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Found farm website for 55.55.55.5
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] checking [/content/geometrixx/en/products.html]
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] request contains authorization
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] cache-action for [/content/geometrixx/en/products.html]: NONE
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Connected to backend rend01 (55.55.55.5:4502)
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: Host
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: User-Agent
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: Accept
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: Accept-Language
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: Accept-Encoding
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: Cookie
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: Via
[Wed Oct 08 19:07:24 2014] [D] [5098(140412258412512)] Adding request header: X-Forwarded-For
"dispatcher.log" 421L, 42334C

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

your log also says:

[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] request contains authorization

You should set

/allowAuthorized "1"

But be aware, that you are caching now files which might contain personalized information!

Jörg

View solution in original post

3 Replies

Avatar

Employee Advisor

[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] cache-action for [/libs/cq/ui/widgets/themes/default/widgets/wcm/Sidekick/item-over.gif]: NONE

Obviously you haven't told your dispatcher to cache such files. Can you please attach your dispatcher.any file?

kind regards, Jörg

Avatar

Former Community Member

@ Jörg Hoh

Thanks for your response. Please find the attached dispatcher.any file and update me with the necessary corrections

Avatar

Correct answer by
Employee Advisor

Hi,

your log also says:

[Wed Oct 08 19:07:20 2014] [D] [5096(140412258412512)] request contains authorization

You should set

/allowAuthorized "1"

But be aware, that you are caching now files which might contain personalized information!

Jörg