views:

179

answers:

1

Hello,

I have figured out that to integrate calls between Apache HTTP server and Restlet, I need to write my own HTTP connector using the Restlet provided API's.

Is my assumption correct? If I am wrong reply back with possible solutions.

I need suitable references that can guide me to write plugins for my above mentioned requirement.

thanks in advance!!! Ashish

+1  A: 

I think you're asking how you can have Apache set up as your public web server, but forward any or all requests on to a Restlet application for handling.

If that's correct, I don't think you need to write your own connector or plugin. Instead, you can just set up Apache to do reverse http proxying using the ProxyPass directive. (Don't forget to use ProxyPassReverse to automatically adjust some response headers.)

Avi Flax