Salve, sto cercando di far interagire un sito sviluppato in locale e delle pagine su Altervista tramite JSON.
Mi visualizza quest'errore quando provo a collegarmi:
XMLHttpRequest cannot load http://provaesercizi.altervista.org/example.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.

Come posso consentire l'accesso a tutti i siti o solo al mio "localhost"?