Creating multidomain CQ mapping
Hi,
I am using CQ 5.6.1 and trying to create multi-domain CQ mappings for our website and I have already went through the following URLs:
http://www.cognifide.com/blogs/cq/multidomain-cq-mappings-and-apache-configuration/
http://www.wemblog.com/2013/03/how-to-manage-multi-site-using.html
http://helpx.adobe.com/cq/kb/HowToMapDomains.html
but not able to do so. My folder exists as /content/mercer and has further language folders like en, fr etc. I have attached the etc.mapping package. Also, this is the following virtual host entry I have done in httpd.conf:
<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.mercer.com DocumentRoot "C:\Apache2.2\htdocs" <Directory "C:\Apache2.2\htdocs"> Options FollowSymLinks AllowOverride None </Directory> RewriteEngine On RewriteRule ^/$ /content/mercer/en.html [PT,L] RewriteCond %{REQUEST_URI} !^/apps RewriteCond %{REQUEST_URI} !^/content RewriteCond %{REQUEST_URI} !^/etc RewriteCond %{REQUEST_URI} !^/home RewriteCond %{REQUEST_URI} !^/libs RewriteCond %{REQUEST_URI} !^/tmp RewriteCond %{REQUEST_URI} !^/var RewriteRule ^/(.*)$ /content/mercer/en/$1 [PT,L] <IfModule disp_apache2.c> SetHandler dispatcher-handler </IfModule> </VirtualHost>
But all I am getting is the error in error.png file.
Please let me know if there is any other information I need to provide.
Thanks in advance
Ankit