<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CGI Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/cgi/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/cgi/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:52:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Introduction of CGI &#124; What is Common Gateway Interface (CGI)?</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-of-cgi/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-of-cgi/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 17 May 2013 09:37:41 +0000</pubDate>
				<category><![CDATA[App / Web Servers]]></category>
		<category><![CDATA[About CGI]]></category>
		<category><![CDATA[About Common Gateway Interface]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[CGI Introduction]]></category>
		<category><![CDATA[CGI Overview]]></category>
		<category><![CDATA[Common Gateway Interface]]></category>
		<category><![CDATA[Introduction of Common Gateway Interface]]></category>
		<category><![CDATA[Know about CGI]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Start]]></category>
		<category><![CDATA[Understand CGI]]></category>
		<category><![CDATA[What is CGI]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2013/05/17/introduction-of-cgi/</guid>

					<description><![CDATA[<p>Any Server will (mostly) do    CGI will not work without a server Your Server must allow CGI Your CGI application [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-of-cgi/">Introduction of CGI | What is Common Gateway Interface (CGI)?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3777 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/05/cgi-introduction.png" alt="cgi-introduction" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/05/cgi-introduction.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2013/05/cgi-introduction-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>Any Server will (mostly) do   </strong></p>
<ul>
<li>CGI will not work without a server</li>
<li>Your Server must allow CGI</li>
<li>Your CGI application must be written in a language supported by your server</li>
<li>You can use probably your existing web server</li>
<li>If you need to test on your local computer, you may install WAMP/XAMPP</li>
<li>Each Server has a particular requirements about running  CGI Applications</li>
</ul>
<p><strong>Prerequisties</strong><br />
Experience in relevant programming language</p>
<ul>
<li>Perl</li>
<li>Php</li>
<li>Unix Shell</li>
<li>c/c++</li>
<li>HTML/CSS</li>
</ul>
<p><strong>What is CGI</strong><br />
Common Interface Gateway</p>
<ul>
<li>How web browsers submit forms and interact with programs on the server</li>
<li>Used for simple interaction applications</li>
<li>Can be used with any programming language</li>
<li>Often called “CGI Scripts”</li>
<li>Can be written in any language</li>
<li>Run in the server, not in a web browser</li>
<li>Must follow server requirements for running applocations</li>
</ul>
<p><strong>ANY SERVER WILL (MOSTLY) do</strong></p>
<ul>
<li>CGI will not work without a web server</li>
<li>Your Server must allow CGI</li>
<li>Your CGI application must be written in a language supported by your server</li>
<li>You can use  your existing web server</li>
<li>If you need to test on your local computer, you may install WAMP/XAMPP</li>
</ul>
<p><strong>Some Guidelines for Unix/Apapche users</strong></p>
<ol>
<li>Permission – 755 ( aka rwxr-xr-x)</li>
<li>Filename associates</li>
<li>.cgi, .pl, .php …etc</li>
<li>.httaccess</li>
<li>Options+ExecCGI</li>
<li>AddHandle cgi-scripts .cgi</li>
<li>SetHander cgi-script</li>
<li>Access to server log</li>
</ol>
<p><strong>Some Guidelines for Windows Servers</strong><br />
Many Windows servers do not support perl or PHP<br />
May require ASP or C#<br />
Usually require specific filename extension<br />
.pl for perl<br />
.php for php<br />
.asp or .aspx for ASP<br />
Access to error log<br />
Check with your server web site or support staff</p>
<p><strong>How CGI works</strong></p>
<ol>
<li>Browser Communicates with server over HTTP</li>
<li>Browser sends a request to the server consisting of header and optional body</li>
<li>Server sends information to the CGI application</li>
<li>Environment variables</li>
<li>Body may be sent in the STDIN stream</li>
<li>Server sends a response consisting of a header and a body</li>
</ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-of-cgi/">Introduction of CGI | What is Common Gateway Interface (CGI)?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-of-cgi/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
