cq5 - Configure dispatcher on ubuntu 12.04 -
am not able dispatcher working on ubuntu machine, following error after apache restart
syntax error on line 2 of /etc/apache2/conf.d/dispatcher.any: invalid command '/farms', perhaps misspelled or defined module not included in server configuration action 'configtest' failed.
am using default dispatcher.any file without changes.
i've enabled dispatcher module below:
loadmodule dispatcher_module /usr/lib/apache2/modules/dispatcher-apache2.2-4.1.4.so <ifmodule disp_apache2.c> # location of configuration file. eg: 'conf/dispatcher.any' dispatcherconfig conf.d/dispatcher.any # location of dispatcher log file. eg: 'logs/dispatcher.log' dispatcherlog /var/log/apache2/dispatcher.log # log level dispatcher log # 0 errors # 1 warnings # 2 infos # 3 debug dispatcherloglevel 3 # if turned 1, dispatcher looks normal module dispatchernoserverheader 0 # if turned 1, request / not handled dispatcher # use mod_alias correct mapping dispatcherdeclineroot 0 # if turned 1, dispatcher uses url processed # handlers preceeding dispatcher (i.e. mod_rewrite) # instead of original 1 passed web server. dispatcheruseprocessedurl 0 # if turned 1, dispatcher not spool error # response client (where status code greater # or equal 400), passes status code # apache, e.g. allows errordocument directive # process such status code. dispatcherpasserror 0 </ifmodule>
can please me out in resolving issue?
thanks, -- pawan
move dispatcher.any
out of conf.d/
, conf/
, update dispatcherconfig
what happens is, when apache starts goes through conf.d
directory , tries load files contained within apache configuration files. dispatcher.any
file not apache configuration file , cannot loaded such. causes syntax error on first non-comment line of file.
Comments
Post a Comment