title: Running a C++ cgi program on apache?
body: <p>I'm experimenting with compiled cgi's on a test server, but I can't seem to get them to run.</p>
  
  <p>I added this to apache;</p>
  
  <pre><code>            &lt;Directory /var/www/app&gt;
              AllowOverride All 
              Options +ExecCGI 
              AddHandler cgi-script .cgi
              &lt;/Directory&gt;
  </code></pre>
  
  <p>Even tried this:</p>
  
  <pre><code>            &lt;Files "/var/www/app/monkey.cgi"&gt;
              Options +ExecCGI 
              &lt;/Files&gt;
  </code></pre>
  
  <p>But every time it runs, apache tells me</p>
  
  <pre><code>            Fri Aug 17 01:55:07 2012] [error] [client 192.168.1.66] Options ExecCGI is off in this directory: /var/www/app/monkey.cgi
  </code></pre>
  
  <p>I've done this before, and it's worked, but it's been awhile. Off the top of your head, can you tell me if I'm making any glaring mistakes?</p>
  
  <p>Thanks.</p>