I am trying to run our website from my local machine and am having cross origin issues. Here is the error.
XMLHttpRequest cannot load http://internaldomain/
<pathtofile> No 'Access-Control-Allow-Orig
in' header is present on the requested resource. Origin 'http://mymachine.mycompany.com'
is therefore not allowed access.
How do I set the access-control-allow-origi
n? I've googled it and have seen examples of PHP code, but I was thinking there would be a way to modify the configuration for the Apache running on my Mac.
Is it a matter of modifying the Apache configuration and if so, how is that done on a Mac?