title: How do I set up a reverse proxy on a Mac?
body: <p>I am currently developing a JavaScript (Sencha) app on my Mac which interfaces with an http REST service. </p>
  
  <p>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.</p>
  
  <p>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?</p>