<?xml version="1.0"?>
<rss version="2.0">
 <channel>
  <title>Writing CGI using C | WPDFD.com Forums</title>
  <link>http://www.wpdfd.com/forums/wpdfd/server_side/writing_cgi_using_c/</link>
  <description>A Server Side forum thread at WPDFD.com</description>
  <language>en-us</language>
  <pubDate>03/06/04, 066 59 2004 2004:%i:1078617542 18:59:02</pubDate>
  <lastBuildDate>06/07/13, 158 13 2013 2013:%i:1370596400 05:13:20</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NineLabs Framework Feed Generator</generator>
  <managingEditor>sitemaster@wpdfd.com</managingEditor>
  <webMaster>sitemaster@wpdfd.com</webMaster>
     <item>
    <title>Flaxen  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/server_side/writing_cgi_using_c/#p631</link>
    <description><![CDATA[I'm experimenting with writing CGI using C. The writing of the code is not the problem it's the execution of the code that has stumped me. Using Perl I simply point at the cgi-bin directory, the server finds the perl code and executes it. So, my first efforts with my cleanly compiled binaries was to put them into the cgi-bin directory in the hope that the server would recognise it was binary rather than perl and execute the same. Somewhat naive perhaps, so I wasn't entirely surprised when that didn't work. After much digging around on the web I still can't find the correct way to execute CGI written in C. I own the server so if it's an apache configuration requirement no problem, otherwise can someone give me a few tips or URL's that'll point me in the right direction ?]]></description>
    <pubDate>03/06/04, 066 59 2004 2004:%i:1078617542 18:59:02</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/server_side/writing_cgi_using_c/#p631</guid>
   </item>
     <item>
    <title>Joe Gillespie said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/server_side/writing_cgi_using_c/#p632</link>
    <description><![CDATA[Have you added .exe to the AddHandler line in httpd.conf?<br /><br />AddHandler cgi-script .cgi .pl .exe<br /><br />Apache has to be told that it can expect an .exe because that's what a compiled C cgi would be.<br /><br />Also, check your cgi log file and see what errors are thrown up.<br /><br />You are not using Apache on Windows by any chance? I don't think C cgis will work on Windows.<br /><br />]]></description>
    <pubDate>03/07/04, 067 36 2004 2004:%i:1078648592 03:36:32</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/server_side/writing_cgi_using_c/#p632</guid>
   </item>
   </channel>
</rss