W w3services_net Member Aug 26, 2020 #1 Aug 26, 2020 #1 Header set Access-Control-Allow-Origin "*" How to use in .htaccess ? Will it work?
Cold-Egg Administrator Aug 27, 2020 #2 Aug 27, 2020 #2 Probably not support in .htaccess file since OpenLiteSpeed support rewrite rules only, but you can set in the context. https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
Probably not support in .htaccess file since OpenLiteSpeed support rewrite rules only, but you can set in the context. https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
W w3services_net Member Aug 28, 2020 #3 Aug 28, 2020 #3 Extra Headers = Access-Control-Allow-Origin Is tag name has been changed? Please confirm.
D donko New Member Sep 5, 2020 #4 Sep 5, 2020 #4 simple example currently working Code: context /images/ { location $VH_ROOT/images/ extraHeaders Access-Control-Allow-Origin * type static }
simple example currently working Code: context /images/ { location $VH_ROOT/images/ extraHeaders Access-Control-Allow-Origin * type static }