Is it possible to configure CQ to serve different applications to different host names?

Sample: Two applications /content/myapp1 and /content/myapp2. For the same publish server IP address exists for two DNS records and I want to tell CQ, if user will go to, then serve him /content/myapp1. And if any visitor enter serve /content/myapp2

Answer, Resolution

This scenario is possible with our Dispatcher Module and ideally running on Apache webserver which provides the mod_rewrite module needed to map domains to individual mandators, such as myweb1 and myweb2 in your case.

In CQ, you don't need to configure anything. First of all, you would configure 2 virtualhosts under apache, and

Such a virtualhost entry would look like this:

<VirtualHost *:80>
DocumentRoot <path to docroot>

RewriteEngine On
RewriteRule ^/(.*)$ /content/myapp1/$1 [PT]

Please refer to our documentation site,, on how to configure the Dispatcher.

Esta obra está autorizada con arreglo a la licencia de Reconocimiento-NoComercial-CompartirIgual 3.0 Unported de Creative Commons.  Los términos de Creative Commons no cubren las publicaciones en Twitter™ y Facebook.

Avisos legales   |   Política de privacidad en línea