<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Introduction to C++ CGI</title>
	<atom:link href="http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Thu, 09 Sep 2010 20:44:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-29793</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Tue, 09 Mar 2010 05:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-29793</guid>
		<description>You&#039;ll need to compile it using a c++ compiler and configure your web-server to use the code. The process is compiler and server specific.</description>
		<content:encoded><![CDATA[<p>You&#8217;ll need to compile it using a c++ compiler and configure your web-server to use the code. The process is compiler and server specific.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crazy_e</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-29788</link>
		<dc:creator>crazy_e</dc:creator>
		<pubDate>Tue, 09 Mar 2010 02:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-29788</guid>
		<description>do you type it(the code) into notepad and then how do you save it and run it with your browser?</description>
		<content:encoded><![CDATA[<p>do you type it(the code) into notepad and then how do you save it and run it with your browser?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viet</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-4400</link>
		<dc:creator>Viet</dc:creator>
		<pubDate>Sun, 06 Jul 2008 13:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-4400</guid>
		<description>Hi, thanks for sharing. You may want to write CGI class and reduce usage of std::cout to speed up the outputting :-)</description>
		<content:encoded><![CDATA[<p>Hi, thanks for sharing. You may want to write CGI class and reduce usage of std::cout to speed up the outputting <img src='http://www.guyrutenberg.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-3999</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Sun, 01 Jun 2008 10:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-3999</guid>
		<description>Hi again, as far as I know, there is no way the same compiled binary will work both on Windows and Linux, as each system uses completely different binary format for executables. But usually it&#039;s not hard to write portable C++ code that will compile both on Linux and Windows. If you can&#039;t compile the code directly on your server, I suggest using a Linux live-cd, such as Knoppix, compile the code on it, and then transfer it to the server.</description>
		<content:encoded><![CDATA[<p>Hi again, as far as I know, there is no way the same compiled binary will work both on Windows and Linux, as each system uses completely different binary format for executables. But usually it&#8217;s not hard to write portable C++ code that will compile both on Linux and Windows. If you can&#8217;t compile the code directly on your server, I suggest using a Linux live-cd, such as Knoppix, compile the code on it, and then transfer it to the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hopefulcd</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-3997</link>
		<dc:creator>hopefulcd</dc:creator>
		<pubDate>Sun, 01 Jun 2008 09:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-3997</guid>
		<description>I think you found the error that I&#039;ve been searching for. The OS that the code was compiled on was a windows based OS. The server that I put the code on was a Linux based OS. Is there a program to use or a way that the script could be compiled to work on multiple OS ?</description>
		<content:encoded><![CDATA[<p>I think you found the error that I&#8217;ve been searching for. The OS that the code was compiled on was a windows based OS. The server that I put the code on was a Linux based OS. Is there a program to use or a way that the script could be compiled to work on multiple OS ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-3992</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Sun, 01 Jun 2008 04:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-3992</guid>
		<description>Hi, you should put the compiled version on the server and in most cases you should add a .cgi extension to executable. You will probably have to compile the code directly on the server unless you have the same OS as the server. On what kind of server have you used (Apache, LIghttpd or something else? What operating system?</description>
		<content:encoded><![CDATA[<p>Hi, you should put the compiled version on the server and in most cases you should add a .cgi extension to executable. You will probably have to compile the code directly on the server unless you have the same OS as the server. On what kind of server have you used (Apache, LIghttpd or something else? What operating system?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hopefulcd</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-3978</link>
		<dc:creator>hopefulcd</dc:creator>
		<pubDate>Sat, 31 May 2008 21:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-3978</guid>
		<description>I really like this tutorial that you made. This is one of the few websites that I&#039;ve found that teaches a C++ CGI.  Everything works for me until I get to the point of having it work on the web server. I&#039;m somewhat confused on what to do there. I create a console application, compile it, then I put the .cpp file on the server and rename it to .cgi, but it doesn&#039;t work. Also, the compiled version doesn&#039;t appear to have a simple .exe. Do you have or know any way that this could be resolved?</description>
		<content:encoded><![CDATA[<p>I really like this tutorial that you made. This is one of the few websites that I&#8217;ve found that teaches a C++ CGI.  Everything works for me until I get to the point of having it work on the web server. I&#8217;m somewhat confused on what to do there. I create a console application, compile it, then I put the .cpp file on the server and rename it to .cgi, but it doesn&#8217;t work. Also, the compiled version doesn&#8217;t appear to have a simple .exe. Do you have or know any way that this could be resolved?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-2787</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Mon, 14 Apr 2008 10:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-2787</guid>
		<description>Apache is a good choice. Please notice that running regular CGIs is quite slow under heavy load. If you try to build something for production you should use FastCGI or SCGI (they are very similar in the way you work with them).

The default configuration of Apache would be fine, sometimes you will have to give your executables &quot;.cgi&quot; extension. Remember to make sure that the CGI executables that you created are indeed executable by the web-server user.</description>
		<content:encoded><![CDATA[<p>Apache is a good choice. Please notice that running regular CGIs is quite slow under heavy load. If you try to build something for production you should use FastCGI or SCGI (they are very similar in the way you work with them).</p>
<p>The default configuration of Apache would be fine, sometimes you will have to give your executables &#8220;.cgi&#8221; extension. Remember to make sure that the CGI executables that you created are indeed executable by the web-server user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Astra</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-2786</link>
		<dc:creator>Astra</dc:creator>
		<pubDate>Mon, 14 Apr 2008 10:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-2786</guid>
		<description>What web server should I use? and if it&#039;s Apache, how should I configure it to treat the executable as a CGI file?</description>
		<content:encoded><![CDATA[<p>What web server should I use? and if it&#8217;s Apache, how should I configure it to treat the executable as a CGI file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/comment-page-1/#comment-1476</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Tue, 12 Feb 2008 19:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2007/08/10/introduction-to-c-cgi/#comment-1476</guid>
		<description>There is a follow up tutorial:
http://www.guyrutenberg.com/2007/09/07/introduction-to-c-cgi-processing-forms/
it discusses how to process forms using C++ (forms like in GET and POST).

If there is a topic your still interested about please write to me, and I will cover it.</description>
		<content:encoded><![CDATA[<p>There is a follow up tutorial:<br />
<a href="http://www.guyrutenberg.com/2007/09/07/introduction-to-c-cgi-processing-forms/" rel="nofollow">http://www.guyrutenberg.com/2007/09/07/introduction-to-c-cgi-processing-forms/</a><br />
it discusses how to process forms using C++ (forms like in GET and POST).</p>
<p>If there is a topic your still interested about please write to me, and I will cover it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.415 seconds -->
<!-- Cached page served by WP-Cache -->
