Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8272521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:08:50+00:00 2026-06-08T07:08:50+00:00

I have partially developed a property website that fetch properties data from a RETS

  • 0

I have partially developed a property website that fetch properties data from a RETS IDX. You may know that RETS server listened to port 6103 over http protocol. My website is deployed on a shared hosting due to which I can not connect to 6103 port. I do have a dedicated server (which allows connect to port 6103). I want to use this dedicated server as a middle tier between my website and the RETS IDX server. My problem is I want to develop that middle tier script i.e HTTP Tunnel.

My website will send all RETS request to this Tunnel that will meanwhile sent it to the RETS IDX server and its response will be sent back to the website at the same moment.

                         port 80                                 port 6103

Website (shared hosting) ----------> Tunnel (Dedicated hosting)  -----------> RETS Server

RETS Server also requires to login, so the session should be maintained properly.

I want to have quick/best solution to do the job. May be through .htaccess or streaming php script or may be some third party script can also cut some of my time.

I would love to hear any thought or suggestion you have.

P.S: I can not move my website to a dedicated server because in near future I am going to have plenty of them and they would cost too much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:08:52+00:00Added an answer on June 8, 2026 at 7:08 am

    I’d personally go for the Reverse Proxy approach. This will allow you to intelligently forward requests, based on configurable criteria.

    Both Apache and nginx have reverse proxy capabilities (in fact it was nginx’s original purpose). For Apache you need to use mod_proxy, while nginx has the functionality built in unless you explicitly disable it before compiling.

    Of these two options I personally prefer nginx, it is robust and lightweight, and completely fit for purpose. I find Apache more cumbersome, but if you already have Apache set up on your dedicated server, you may prefer to use that instead.

    The beauty of using web servers to proxy, is that they understand the underlying protocol. They will preserve headers, modify cookies (preserve sessions), and translate hostnames correctly.


    Apache Config

    In both cases configuration is very straightforward, the Apache config looks something like the following:

    <Location /proxy-location/>
        ProxyPass /rets http://rets-server:6103/api/path
        ProxyPassReverse /rets http://rets-server:6103/api/path
    </Location>
    

    There’s also options for tweaking cookies, setting timeouts etc. All of which can be found in the mod_proxy documentation

    You should note that this cannot go in a .htaccess file. It must go in the main server config.


    nginx Config

    Equally as simple

    location /proxy-location {
        proxy_pass        http://rets-server:6103/api/path;
    }
    

    Again tons of options in the HttpProxyModule documentation for caching, rewriting urls, adding headers etc.


    Please do consult the docs. I’ve not tested either of these configurations and they may be a little off as they’re from memory + a quick google.

    Make sure you test your app by proxying to an unreachable server and ensure it handles failures correctly since you are introducing another point of failure.

    I’m working on the assumption you are able to configure your own dedicated server. If this is not the case, your hosts may be willing to help you out. If not leave me a comment and I’ll try and come up with a more robust curl option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to pull some data from a webpage. I have it partially working,
I have an animation on a partially hidden div container that will execute when
I have a UIView container that has two UIImageView s inside it, one partially
I have a blog for a photographer I've designed/partially developed, he's paid a lot
We have developed a system that uses a single code base, consisting of four
I have developed a back-end in Rails 3.2 that allows admins to perform CRUD
I have a ASP.NET Website which was developed in ASP.NET 2.0. Now I want
We have developed a .NET Assembly that stores language translation information and it needs
A little background: I have developed a web application in MVC3 that requires users
I have a JavaScript class that displays a partially-opaque div over top of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.