I\'m using .htaccess to rewrite urls and I used html base tag in order to make it work.
Now, when I try to make an ajax request I get the following error:
Add this to you PHP file or main controller
header("Access-Control-Allow-Origin: http://localhost:9000");