Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all articles
Browse latest Browse all 15043

[Apache]Access-Control-Allow-Origin

$
0
0
im trying a json request through jquery and im getting an error saying im not allowed

ive seen using some hacks like:
PHP Code:

<?php header('Access-Control-Allow-Origin: *'); ?>
and adding this in httpd-vhosts.conf:
Code:

Access-Control-Allow-Origin: <origin> | *
both have not worked and kinda stuck as to how to find a work around. even tried
Code:

--disable-web-security


Viewing all articles
Browse latest Browse all 15043

Trending Articles