I am currently hosting a mobile web app on a server running Linux/Apache. I added this .htaccess file:
Header add Access-Control-Allow-Origin "*" Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"But when I try to use any createHTTPClient either on the same server (in the same folder) or outside the server I get a connection error (0). Is there anything else I need to setup on my server to allow these httpRequests to operate correctly?