title: Removed Apache server and now ajax not working
body: <p>I have a web application that I had to pull the Apache server out of. Once I did, the code below stopped working (doesn't seem to care about the url). Hoping that someone can help me find an alternative way to see if folder <code>S100-122-23</code> does not exist, then implement the error code.</p>
  <pre><code>function checkFLMLinks()
  {
  
  $.ajax({
      type: 'HEAD',
      url: '../../S100-122-23',
      error: function(){
          $(&quot;a&quot;).each(function(){
              if($(this).attr(&quot;href&quot;) &amp;&amp; ($(this).attr(&quot;href&quot;).indexOf(&quot;/AWE-S100-23&quot;) &gt; -1))
              {
                  $(this)
                      .removeAttr(&quot;href&quot;)
                      .attr(&quot;title&quot;, &quot;Manual Not Loaded&quot;)
                      .addClass('noxref')
                      .removeClass('xref');
                      window.alert(&quot;flmlinks&quot;);
              }
          });
      }
  }); 
  }
  </code></pre>