Hi,
I am facing issue after running the validator script even after flexi mode available also i,e. opt-in available below is the error reported
bin/validator full -d out src
Cloud manager validator 2.0.64
2024/01/22 19:28:43 The following errors were found in the httpd config:
conf.d/available_vhosts/project-a: included file (conf.d/rewrites/rewrite-projecta.rules) does not match any known file
conf.d/rewrites/rewrite-projecta.rules:71: included file (conf.d/rewrites/redirect-projecta.rules) does not match any known file
conf.d/available_vhosts/project-b.vhost:78: included file (conf.d/rewrites/rewrite-projectb.rules) does not match any known file
conf.d/available_vhosts/project-c.vhost:68: included file (conf.d/rewrites/rewrite-projectc.rules) does not match any known file
conf.d/rewrites/rewrite-projectc.rules:17: included file (conf.d/rewrites/redirect-projectc.rules) does not match any known file
we are following multi tenant architecture.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @RaghuTa1
Could you please try the below command and see if you are getting any validation error.
rm -rf ./out && ./bin/validator full -relaxed ./src
Thanks
Ayush
Hi @RaghuTa1 ,
Please make sure that your files are created in the "available_vhosts" directory and enabled with a symbolic link in the enabled_vhosts directory.
Also ensure that at least one virtual host is always available that matches ServerAlias \*.local, localhost, and 127.0.0.1 which are needed for the Dispatcher invalidation. The server aliases *.adobeaemcloud.net and *.adobeaemcloud.com are also required in at least one vhost configuration and are needed for internal Adobe processes.
For more guidance on it you can follow below link
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/conten...
Thanks
Tarun
@RaghuTa1 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Hi @RaghuTa1
Could you please try the below command and see if you are getting any validation error.
rm -rf ./out && ./bin/validator full -relaxed ./src
Thanks
Ayush
Cloud manager validator 2.0.64
2024/02/08 17:29:12 No issues found
but why we need to remove the out folder?
Check the File Type - error stating issue with the file - it should be of type Symlink and Check the Size of the file,
Type and Size should be there in file properties.
@RaghuTa1 - Besides validating symlinks and relaxed validation also please check your rewrite files inclusion in the vhost file.
All these errors are pointing to rewrite rules file not being found/read.
Can you share your vhost file's <IfModule mod_rewrite.c> code?
For including multiple rewrite files please refer to thread Multiple Rewrites
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies