Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To avoid CORS errors, following configs needs to be added to fully CORS-enable an Apache web server at the end in <Directory>, <Location>, <Files>, <VirtualHost> of /etc/httpd/conf/httpd.conf or .htaccess

Code Block
    <IfModule mod_headers.c>
           Header set Access-Control-Allow-Origin "*"
           Header set Access-Control-Allow-Headers "*"
           Header set Access-Control-Allow-Methods "*"
    </IfModule>