Is there a way to run two separate instances of the dispatcher module within one instance of apache? | Community
Skip to main content
EdwardCLuke
Level 2
October 16, 2015
Solved

Is there a way to run two separate instances of the dispatcher module within one instance of apache?

  • October 16, 2015
  • 1 reply
  • 476 views

For Example:

aem.domain.co.uk - configured as virtual host - uses dispatcher-handler and uses 'dispatcher.any' for configuration

author.domain.co.uk - configured as virtual host - uses dispatcher-handler and uses 'author_dispatcher.any' for configuration

I have tried this in various combinations as follows:

apache.conf - all normal <IfModule dispatcher> statement with the default settings.
aem.domain.co.uk - use the <Directory /> with the <IfModule> and set-handler declaration
author.domain.co.uk - same as above.

each of the virtual host tries to override the DispatcherConfig parameter - but this doesnt seem to work?

Is there a way to achieve this?

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 joerghoh

Hi,

why do you want to have multiple instances of the dispatcher? If you do virtualhosting on apache, you can configure virtualhosts in the dispatcher as well and do all settings of dispatcher.any on a virtualhost-basis.

Jörg

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

why do you want to have multiple instances of the dispatcher? If you do virtualhosting on apache, you can configure virtualhosts in the dispatcher as well and do all settings of dispatcher.any on a virtualhost-basis.

Jörg