Solve the Apache cross-origin request problem
Error description to
solve the problem
- Find httpd.conf, uncomment the following sentence
LoadModule headers_module modules/mod_headers.so - Add the code in the red box in httpd.conf
- Restart the server, test the
successful access, and call it a day!