title: XMLHttpRequest for html page on web server but not in development
body: <p>I have a web page which needs to load two separate rss feeds and display them in a ticker. The page loads and runs fine on my own machine but when I put it on our apache web server, it doesn't load anything.  When I open up the debug console, it shows the following error (in Safari 5.0.2):</p>
  
  <p>NETWORK_ERR: XMLHttpRequest Exception 101: A network error occured in synchronous requests</p>
  
  <p>How can I fix this?</p>
  
  <p>Here's the basic outline of the javascript methods for loading the rss feeds.</p>
  
  <pre><code>function init() {
          // get RSS forecast
          getRSS("http://weather.yahooapis.com/forecastrss?p=63211");
          getRSS("http://webserver.com/reader.xml");
      }
  
  function getRSS (url) {
      xmlhttp=new XMLHttpRequest();
      xmlhttp.open("GET", url, false);
      xmlhttp.send();
      xmlobject=xmlhttp.responseXML;
      // code to process response here...
      }
  </code></pre>