Mazhar Malik wrote:
Hi,

We are in the process of evaluating Active4D for one of our projects. One of the questions we have is regarding proxy rewrite. Searching list archive gives me ways to proxy/rewrite from Apache or 4DWebSTAR to 4D/Active4D, but I couldn't find other way around. i.e from 4D/Active4D to Apache or 4DWebSTAR. So my first question is that is it possible to proxy/rewrite URL in a way that when endusers send requests to Active 4D, the actual response comes from Apache and the URL is hidden from enduses?

Thanks in advance.

mazhar

Mazhar,

If you send the request to Apache and have it proxy to Active4D, depending on how your rewrite rules are written the user may never know that Active4D was involved.

When you say 'URL is hidden from enduses', I assume you don't want to reveal details like "index.a4d?action=view&type=products&id=1234"? Instead the user would use a URL like:

   www.myapacheserver.com/view/products/1234

that would seemlessly display the content at www.myapacheserver.com:8080/index.a4d?action=view&type=products&id=1234

Apache's rewrite module (and WebSTAR's too) can do this for you. The messages you found in the list archive should provide some hints on how to do that.

Or am I misunderstanding what you want to do? Since 4D/Active4D doesn't have a proxy module you can't go the other way.

Yes we wanted to do proxy from 4D/ACtive4D to Apache (the other way). I thought if 4DWebSTAR has a module to do proxy then probably 4D/Active4D might have a way too, not long ago (4th Dimensions DB and 4DWebSTAR) was owned by same company.


You can use Active4D to redirect to another Apache server where if you were to access
     www.mya4dserver.com/index.a4d?action=view&type=products&id=1234

Thats is what we are doing right now with 4D using HTTP Redirect tag.

So it seems we can don't have a way to proxy from 4D to anything else.


You could have Active4D redirect to

   www.myapacheserver.com/view/products/1234

but that doesn't hide the implementation details from the end user.

-- Brad

  _______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


--

-----------------------------------------------------------------------

Instructional Development Specialist
Web Enabled Resources
Georgia College & State University
Campus Box 034
E-mail: [EMAIL PROTECTED]
Phone: (478) 445-2520

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to