How to have more than 1 rewrite.rules FOLDERS but not files in aem as a cloud dispatcher
Hello,
I'm using Flexible mode mode (opt-in/USE_SOURCES_DIRECTLY) for my dispatcher configs in the AEM cloud, and when I try to add a custom FOLDER to conf.d/rewrites,
e.g
(conf.d/rewrites/CUSTOM_FOLDER_A/CUSTOM_REWRITE_FOR_A.rules)
(conf.d/rewrites/CUSTOM_FOLDER_B/CUSTOM_REWRITE_FOR_B.rules)
I see the following error while executing in the console.
"cp: can't create CUSTOM_FOLDER/CUSTOM_REWRITE.rules"
But when I add CUSTOM_REWRITE.rules right under conf.d/rewrites/ it works
The problem only with additional folders under rewrites directory
My goal is to have multiple rewrite configurations for each web site and each website should have its own directory under conf.d/rewrites/
Example :
conf.d/rewrites/SITE-A/...
conf.d/rewrites/SITE-B/...
Do u have any idea how can I resolve this issue?