Expand my Community achievements bar.

SOLVED

Dispatcher and cloud manager- Validation errors on windows

Avatar

Level 10

Can someone help me clear the validation errors with dispatcher please? I have two issues below and wondering if i can create a custom rewrite and filter. I used relaxed command and it successfully completed but with below command i face below issues

Including it as part of the source code and i do have custom rewrite rules and filters.

Running the command on windows gives me the below errors
>validator.exe full -d ../out ../src1
to be honest i could not resolve it with rewrite.rules as detailed in the site
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...  

NitroHazeDev_0-1648757187831.png

 

Issue -1

conf.d\available_vhosts\custom_author.vhost:69: included file (conf.d\rewrites\rewrite.rules) does not match any known file

conf.d\available_vhosts\custom_author.vhost:69: included file (conf.d\rewrites\custom_rewrite.rules) does not match any known file

I have tried both below in vhosts file
#Include /etc/httpd/conf.d/rewrites/custom_rewrite.rules
Include conf.d/rewrites/rewrite.rules

Issue-2
Wrt filters

NitroHazeDev_1-1648757384933.png

 

 

conf.dispatcher.d\available_farms\002_custom_author_farm.any:20: file included at unknown location: /etc/httpd/conf.dispatcher.d/filters/custom_author_filters.any





1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @NitroHazeDev 

 

Prefer using Flexible Mode with Dispatcher. It resolves the issues around naming conventions for files like reqrites.

 

  • Flexible mode - the recommended mode, and the default for AEM archetype 28 and higher, which is also used by Cloud Manager for new environments created after the Cloud Manager 2021.7.0 release. Customers can activate this mode by adding the folder and file opt-in/USE_SOURCES_DIRECTLY. By using this more flexible mode, there are no limitations in the file structure under the rewrites folder that in legacy mode required a single rewrite.rules file. Also, there is no limitation on the number of rules you can add. For details on folder structure and local validation, see Validating and Debugging using Dispatcher Tools.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hello @NitroHazeDev 

 

Prefer using Flexible Mode with Dispatcher. It resolves the issues around naming conventions for files like reqrites.

 

  • Flexible mode - the recommended mode, and the default for AEM archetype 28 and higher, which is also used by Cloud Manager for new environments created after the Cloud Manager 2021.7.0 release. Customers can activate this mode by adding the folder and file opt-in/USE_SOURCES_DIRECTLY. By using this more flexible mode, there are no limitations in the file structure under the rewrites folder that in legacy mode required a single rewrite.rules file. Also, there is no limitation on the number of rules you can add. For details on folder structure and local validation, see Validating and Debugging using Dispatcher Tools.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...


Aanchal Sikka

Avatar

Level 10

Hi @aanchal-sikka 

thank you for the details. Unfortunately back then recommendation was to pick from the experience.adobe.com and fine tune. That being said been over a year that I managed to solve and if I recollect it right I managed to ensure that the sym links were generated accurately, the machine was on, was not doing so. References as such was a mess. The rest on deployment via cloud manager took care of references vs what the windows version showed.