Here are some pointers to setting up a Day CQ dispatcher
On windows,
In dispatcher.any, set the docroot to something simple like
/docroot "c:/mywork/htdocs/cache"
Change the permissions on this folder so that apache can write to it.
In httpd.conf
DocumentRoot "C:/mywork/htdocs"
If there are rewrite rules required, then remember to turn the RewriteEngine on :-
RewriteEngine on
RewriteRule ^/?$ /content/projectx/en/home.html [QSA,PT,L]
RewriteRule ^(?!/content/)(.*).html$ /content/projectx/en$0 [QSA,PT,L]
RewriteRule ^(/css/).*$ /apps/projectx/docroot$0 [QSA,PT,L]
RewriteRule ^(/js/).*$ /apps/projectx/docroot$0 [QSA,PT,L]
RewriteRule ^(/images/).*$ /apps/projectx/docroot$0 [QSA,PT,L]
If you see the following error in the dispatcher.log :-
[Thu Apr 07 06:54:02 2011] [D] [1780(1444)] Filter rejects GET /css/projectx.css HTTP/1.1
Then the "/filter /glob" section is blocking the retrieval of the page from the publish server.
Question - Have you ever seen the issue where content which is requested returns a 404 because dispatcher cache doesn't have the directory structure for the requested page? As soon as I create the directory in the cache directory for the requested page, then the page will load. Otherwise, returns a 404.
ReplyDeleteApache2.4, Ubuntu Linux, Dispatcher dispatcher-apache2.4-4.1.7.so
Thanks in advance!
My Aem (Cq) Blog: Setting Up Dispatcher >>>>> Download Now
Delete>>>>> Download Full
My Aem (Cq) Blog: Setting Up Dispatcher >>>>> Download LINK
>>>>> Download Now
My Aem (Cq) Blog: Setting Up Dispatcher >>>>> Download Full
>>>>> Download LINK PJ
Hi there! One of my friends once asked me to help to write essay. I recomended him the best papernow.org writing essay service. He was fully satisfied by the results.
ReplyDeleteMy Aem (Cq) Blog: Setting Up Dispatcher >>>>> Download Now
ReplyDelete>>>>> Download Full
My Aem (Cq) Blog: Setting Up Dispatcher >>>>> Download LINK
>>>>> Download Now
My Aem (Cq) Blog: Setting Up Dispatcher >>>>> Download Full
>>>>> Download LINK l0
For organizations attempting to fill open situations with the top individuals, ability obtaining is a fundamental technique. Associations can fabricate a pool of skilled competitors from which to pick the best fit for their accessible jobs by using an assortment of obtaining strategies, including position sheets, representative references, online entertainment, ability organizations, and occasions. In this present circumstance, firms can acquire a great deal from ability obtaining>> sourcing talent
ReplyDelete