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

  • Home
  • SEARCH
  • 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 6820515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:26:02+00:00 2026-05-26T21:26:02+00:00

I am currently developing a JavaScript (Sencha) app on my Mac which interfaces with

  • 0

I am currently developing a JavaScript (Sencha) app on my Mac which interfaces with an http REST service.

The service is already in place somewhere else (on another domain) and I have no control over it. Since I am developing the app on my own Mac the http requests are currently cross domain and therefore they don’t work unless I disable browser security.

A friend of mine who works on a PC said his solution was to set up a reverse proxy using Apache which somehow made the app (who’s domain is localhost) think that the service’s domain was also localhost. I’m not entirely sure what he meant by that nor do I know how to do that on my Mac. Any suggestions?

  • 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-05-26T21:26:02+00:00Added an answer on May 26, 2026 at 9:26 pm

    Apache indeed can do reverse proxies, but for your own sake, I’d recommend you don’t go with Apache (It’s unnecessarily large.)

    Though there are many things you can do, what I, personally, would do is install the Nginx webserver and change the configuration to use proxy_pass. It’s not terribly hard, but it’s especially simple if you are already aware of how to build software from source. A quick google leads to a guide on exactly this – and from there on, you just need to change your ./conf/nginx.conf file to your needs.

    Dedicated proxy software is probably a better solution, but you don’t need all of the features of a dedicated proxy software, and you certainly don’t need all of the features of the Apache web server (or Nginx, really, but Nginx is at least marginally smaller.)

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

Sidebar

Related Questions

I'm developing this app which as a very basic Ajax form and I'm currently
I am currently developing a JavaScript add-on which receives JSON from an API. So
I am currently developing a site and have a need for a javascript-based carousel/slider
I am currently developing an approval routing WCF service that will allow an user
I am currently developing Unit Tests for a Javascript method that detects the readiness
I'm currently developing a small, JavaScript based drawing application on iPad. I've simply wrapped
I'm currently developing a Rails app with 4 nested models (as per THIS POST
I'm currently developing a moderately large sized web app with ASP.NET 2.0 that uses
I have a search form in an app I'm currently developing, and I would
I am currently developing a Web-Application using Java EE where I'm using a Rich-Javascript-Editor

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.