In my project, I have an API developed using FRAPI and also a GUI.
From what I saw in the FRAPI documentation I need to setup a virtual
host for the API frontend. So, now I have in my Apache configuration a
virtual host in the port 80 for the GUI and another virtual host for
the API frontend in the port 8080.
The problem I have is that when I'm accessing using internet explorer
(only IE and Opera, it works with most of the other browsers) to my
GUI, which makes calls to the API, it doesn't work.. From what I
gather the cross domain policy requires that the protocol, host and
port are all the same and I guess it is the problem.
It is mandatory to have another virtual host for the API frontend?
Could I use FRAPI (my API) in a subdirectory in my GUI folder? instead
of another virtual host? In that case, I could access to the API using
the same port and host..
How could I do that?
Any suggestion to solve it?
Thanks in advance.