Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
FRAPI as a subdirectory instead of a virtual host.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mac  
View profile  
 More options Mar 13 2012, 7:27 am
From: Mac <macia....@gmail.com>
Date: Tue, 13 Mar 2012 04:27:04 -0700 (PDT)
Local: Tues, Mar 13 2012 7:27 am
Subject: FRAPI as a subdirectory instead of a virtual host.
Hi!

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Janus Tøndering  
View profile  
 More options Aug 28 2012, 10:42 am
From: Janus Tøndering <j...@jupiter.dk>
Date: Tue, 28 Aug 2012 07:42:33 -0700 (PDT)
Local: Tues, Aug 28 2012 10:42 am
Subject: Re: FRAPI as a subdirectory instead of a virtual host.

Hi,

I had the same problem and added the possibility to set FRAPI_BASE_URI as
the base folder uri. You should change the .htaccess to include a
RewriteBase directory too.

See
https://github.com/janus-toendering/frapi/commit/fdc5a0ef6837edb3fe75...

Best Regards,
Janus Tøndering

Den tirsdag den 13. marts 2012 12.27.04 UTC+1 skrev Mac:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »