title: Configuring apache mod_proxy for cross-domain ajax calls
body: <p>I started working on a small JavaScript app today that utilizes the Clipped API (<a href="http://clipped.me/api.html" rel="nofollow">http://clipped.me/api.html</a>), but learned that there are cross-domain AJAX call issues, and the developer of the API didn't add support for JSONP. Here's the app itself:</p>
  
  <pre><code>var clippedAPI = "http://clipped.me/algorithm/clippedapi.php";
  
      $.ajax({
          url: clippedAPI,
          type: "GET",
          dataType: "JSONP",
          data: {
          url: "http://pandodaily.com/2013/03/26/y-combinator-demo-day-2013-still-looking-for- the-next-airbnb-or-dropbox/"}
      }).done(function(json) {
          console.log("JSON Data: " + json.title );
      }).fail(function(jqxhr, textStatus, error){
          var err = textStatus + ', ' + error;
          console.log("Request Failed: " + err);
  });
  </code></pre>
  
  <p>I've set up an Apache server on my Ubuntu machine, and have been suggested to use mod_proxy to set up a reverse proxy. The problem is that I just don't know how to do this -- this is my first time using Apache. I know all the basics like accessing my main Apache config files in Terminal. Can anyone give a noob a run-down on how to do this?</p>