After adding MIME types
in .htaccess
file on 000webhost.com (free web hosting domain). Now I am getting error:
I have no idea how will I make it work, I have been trying it for few weeks but still its all unsuccessful.
After adding MIME types
in .htaccess
file on 000webhost.com (free web hosting domain). Now I am getting error:
I have no idea how will I make it work, I have been trying it for few weeks but still its all unsuccessful.
It appears that you are violating the Same Origin Policy
by attempting to perform cross domain AJAX requests. To make this work the remote server should support CORS
. Those are specific headers that the remote server must send indicating the domains that are allowed to make AJAX requests to it.
If the remote server doesn't support CORS for your domain you cannot make AJAX requests to it. If you have control of the server side script on the remote domain, you could make it respond with the Access-Control-Allow-Origin: *
header to an OPTIONS
request.
In order to add those headers you could modify your .htaccess
and include the following:
Header add Access-Control-Allow-Origin "*"