title: Apache 403 error (Forbidden) on windows
body: <p>I'm using Apache and send an ajax request using jQuery from <code>index.html</code>. The <code>get_data.pl</code> is a file on <code>cgi-bin</code>. I got <code>403 Forbidden error</code>. Anyone would help me and thanks in advance.</p>
  
  <pre><code>$.ajax({
      async : true,
      type: "GET",
      url: "get_data.pl"      
  }).done(function(msg){
      alert("Data Saved: " + msg);
  }).fail(function(xmlHttpRequest,statusText,errorThrown) {   
      console.log(JSON.stringify(xmlHttpRequest));
      console.log(statusText);
      console.log(errorThrown);       
  });
  </code></pre>
  
  <p>What I got from the console:</p>
  
  <pre><code>{"readyState":4,"responseText":"&lt;!DOCTYPE ...&lt;title&gt;403 Forbidden&lt;/title&gt;...
  &lt;p&gt;You don't have permission to access /get_data.pl\non this server.&lt;/p&gt;\n&lt;/body&gt;
  &lt;/html&gt;\n","status":403,"statusText":"Forbidden"} 
  </code></pre>
  
  <p>It's Windows 7. I'm running with Chrome using administrator account.</p>
  
  <p>After some time, I didn't find ways for the issue yet. I think I should provide more details for experts to reproduce my problem.
  About my httpd.conf, I changed places based on the original one:
  Line 193 in:</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I delete the 2 lines: </p>
  
  <pre><code>Order allow,deny
  Allow from all
  </code></pre>
  
  <p>Line 343 :</p>
  
  <pre><code>&lt;Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin"&gt;
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I changed this section to:</p>
  
  <pre><code>&lt;Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/cgi-bin"&gt;
  AllowOverride None
      Options  +ExecCGI
      AddHandler cgi-script .cgi .pl
      Allow from all
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I placed the .pl file in cgi-bin folder, the index.html in htdocs folder.
  I tried Windows7, Win2k3 64bit and WIn2k3 32bit. All have forbidden errors. I used Apache's default printenv.pl also.</p>