Created two subdomains -
Now, created a page rule that if
sub1.domain.com/somefile.php is called, then permanent redirect it to
sub1.domain.com/somefile.php is now called, browser throws error for CORS, that there is no cross origin request allowed for
Followed CF tutorial for configuring CORS using ACCESS policy.
But it still doesn’t work. Check this screenshot of configuration : https://content.screencast.com/users/IAmDeep/folders/Jing/media/dcecc6b4-561c-463f-af36-4fd157fea2bb/00001784.png