Skip to main content
EdwardCLuke
Level 2
Oct 16, 2015 2:28 AM UTC
Solved

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

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.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:28 AM UTC

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
Oct 16, 2015 2:28 AM UTC

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

Translate