Missing farm in multiple domain dispatcher
Hi everybody.
We are having some problems configuring our cloud environment with a multidomain dispatcher. The problem seems to be that the dispatcher is reading the publishfarm configuration instead of the domain it belongs to.
Here is the configuration
In browser I type "www.digital.net"
In dispatcher log I can see
Found farm publishfarm for www.digital.net
Thu Jan 18 07:38:51.715727 2024 [dispatcher:debug] checking [/content/digital/digital---global/es/home/jcr:content.getpublications.json]
Thu Jan 18 07:38:51.715784 2024 [dispatcher:debug] cachefile does not exist: /mnt/var/www/html/content/digital/digital---global/es/home/jcr:content.getpublications.json
Thu Jan 18 07:38:51.715791 2024 [dispatcher:debug] try to create new cachefile: /mnt/var/www/html/content/digital/digital---global/es/home/jcr:content.getpublications.json
Thu Jan 18 07:38:51.715797 2024 [dispatcher:debug] cache-action for [/content/digital/digital---global/es/home/jcr:content.getpublications.json]: CREATE
Thu Jan 18 07:38:51.715864 2024 [dispatcher:debug] Filter rule entry /0001 blocked 'GET /content/digital/digital---global/es/home/jcr:content.getpublications.json HTTP/1.1'
As you can see the request is reading publishfarm instead digitalfarm, so is blocking some petitions that are allowed in my customized filter file.
My configuration is as follow
Directory conf.dispatcher.d
* dispatcher.any
-------------------------------------------------------------------------------
#
# This is a file provided by the runtime environment and only included for
# illustration purposes.
#
# DO NOT EDIT this file, your changes will have no impact on your deployment.
#
/farms {
# Include all *.farm files in enabled_farms
$include "enabled_farms/*.farm"
}
* /virtualhost/001_digital_vhost.any
---------------------------------------------------------------------------------
* /enabled_farms/001_digital.farm
---------------------------------------------------------------------------------
/digitalfarm {
## client headers which should be passed through to the render instances
## (feature supported since dispatcher build 2.6.3.5222)
/clientheaders {
$include "../clientheaders/001_digital_clientheaders.any"
$include "../clientheaders/default_clientheaders.any"
}
## hostname globbing for farm selection (virtual domain addressing)
/virtualhosts {
$include "../virtualhosts/001_digital_vhosts.any"
}
## the load will be balanced among these render instances
/renders {
$include "../renders/default_renders.any"
}
## only handle the requests in the following acl. default is 'none'
## the glob pattern is matched against the first request line
/filter {
$include "../filters/001_digital_filters.any"
}
Directory conf.d
* /enabled_vhosts/001_digital.vhost
-----------------------------------------------------------------------------------
## Collect any enviromental variables that are set in /etc/sysconfig/httpd
## Collect the dispatchers number
PassEnv DISP_ID
<VirtualHost *:80>
ServerName "publish_digital"
## Put names of which domains are used for your published site/content here,
ServerAlias "www.digital.net"
.................
Can anybody tell me what am I missing?????
Thank you.