I am setting up dispatcher in cloud service. for one domain, it is fine but when I am setting for multi domain and try to create new filter file,cache file to associate second domain it is not allowing to create these new files.
Please refer the following link for multi-domain setup of dispatcher :
It talks about maintaining the virtual hosts and dividing the .any configurations in farms.
For multiple domain, you will have different vhost configured as well as different farm file.
Verify if you are including the newly created rules-second.any and filters-second.any file in the separate farms. Once include is correct, that rule will trigger.
each farm you will find an include something like below:
maintain separate farms for different domains and include these.
You might be using legacy mode for dispatcher, you need to change it to Flexible mode. Follow the documentation -> https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten....
This will resolve your issue.
Yes I am using flexible mode. but when add the new file it gives this kind of error.
conf.dispatcher.d\available_farms\: file included at unknown location: /etc/httpd/conf.dispatcher.d/filters/filters-qa.any
conf.dispatcher.d\available_farm\: filter allows access to CRXDE
conf.dispatcher.d\available_farms\: filter allows access to system console
Thanks All for your inputs.
yes we can create multi files but in my case vdi is window server 2016 that is causing problem and dispatcher validator was failing but I checked on linux system all files are working fine. there is no validator error.