<?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: Lighttpd Setup CGI-BIG CGI For Perl Programs</title> <atom:link href="http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: adipa</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-178078</link> <dc:creator>adipa</dc:creator> <pubDate>Fri, 06 Jan 2012 07:43:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-178078</guid> <description>Sorry, I confused installing setup on cgi-bin folder for powersek program. please help me...
thanks</description> <content:encoded><![CDATA[<p>Sorry, I confused installing setup on cgi-bin folder for powersek program. please help me&#8230;<br
/> thanks</p> ]]></content:encoded> </item> <item><title>By: none-101</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-174958</link> <dc:creator>none-101</dc:creator> <pubDate>Tue, 18 Oct 2011 11:08:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-174958</guid> <description>Does not show how to specify the cgi-bin.
e.g in Apache I have the cgi-bin located elsewhere (on a separate partition)
DocumentRoot /www/admin.example.com/
.......
ScriptAlias /cgi-bin/ /www/cgi-bin/admin.example.com/ </description> <content:encoded><![CDATA[<p>Does not show how to specify the cgi-bin.</p><p>e.g in Apache I have the cgi-bin located elsewhere (on a separate partition)<br
/> DocumentRoot /www/admin.example.com/<br
/> &#8230;&#8230;.<br
/> ScriptAlias /cgi-bin/ /www/cgi-bin/admin.example.com/</p> ]]></content:encoded> </item> <item><title>By: g..</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-173551</link> <dc:creator>g..</dc:creator> <pubDate>Thu, 25 Aug 2011 19:40:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-173551</guid> <description>It works when I access the perl with a browser on the server with http://localhost/....
However when I try to access the perl with the external IP http://188.61.81.120 it get an 403 Forbidden message.
How could I make it to work also from the outside?
/g..</description> <content:encoded><![CDATA[<p>It works when I access the perl with a browser on the server with <a
href="http://localhost/..." rel="nofollow">http://localhost/&#8230;</a>.<br
/> However when I try to access the perl with the external IP <a
href="http://188.61.81.120" rel="nofollow">http://188.61.81.120</a> it get an 403 Forbidden message.<br
/> How could I make it to work also from the outside?</p><p>/g..</p> ]]></content:encoded> </item> <item><title>By: LCN</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-159315</link> <dc:creator>LCN</dc:creator> <pubDate>Sat, 04 Sep 2010 04:37:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-159315</guid> <description>I had this same problem, too. Indeed, the author&#039;s configuration file should replace this entry:
server.document-root = &quot;/home/lighttpd/theos.in/http&quot;
with this one:
server.document-root = &quot;/home/lighttpd/theos.in&quot;</description> <content:encoded><![CDATA[<p>I had this same problem, too. Indeed, the author&#8217;s configuration file should replace this entry:</p><p>server.document-root = &#8220;/home/lighttpd/theos.in/http&#8221;</p><p>with this one:</p><p>server.document-root = &#8220;/home/lighttpd/theos.in&#8221;</p> ]]></content:encoded> </item> <item><title>By: Luke</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-156384</link> <dc:creator>Luke</dc:creator> <pubDate>Sun, 06 Jun 2010 04:49:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-156384</guid> <description>If you have cgi programs that are written in C how do you set it up?  I have a bunch of C based code that is directly executable and I want to be able to execute from the web.</description> <content:encoded><![CDATA[<p>If you have cgi programs that are written in C how do you set it up?  I have a bunch of C based code that is directly executable and I want to be able to execute from the web.</p> ]]></content:encoded> </item> <item><title>By: john plumridge</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-155326</link> <dc:creator>john plumridge</dc:creator> <pubDate>Fri, 23 Apr 2010 22:54:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-155326</guid> <description>@Nishu
CHeck wher eyour perl distribution is located from in your bash path, if on Unix or Linux:
In terminal: type
$ which perl
Your path might not be  usr/bin/perl</description> <content:encoded><![CDATA[<p>@Nishu<br
/> CHeck wher eyour perl distribution is located from in your bash path, if on Unix or Linux:</p><p>In terminal: type</p><p>$ which perl</p><p>Your path might not be  usr/bin/perl</p> ]]></content:encoded> </item> <item><title>By: nishu</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-154896</link> <dc:creator>nishu</dc:creator> <pubDate>Fri, 09 Apr 2010 08:35:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-154896</guid> <description>Hi All,
Need ur help. I m new in this cgi stuff and faling again and again</description> <content:encoded><![CDATA[<p>Hi All,</p><p>Need ur help. I m new in this cgi stuff and faling again and again</p> ]]></content:encoded> </item> <item><title>By: john plumridge</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-154561</link> <dc:creator>john plumridge</dc:creator> <pubDate>Sat, 27 Mar 2010 15:51:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-154561</guid> <description>I have lighttpd running fine with cgi scripts form localhost/cgi-bin.
I would like to use however, cgi scripts from any directory (i.e. globally), a desire which echoes an earlier post. I can&#039;t find informaton on this, and cannot figure it out.
Any ideas?</description> <content:encoded><![CDATA[<p>I have lighttpd running fine with cgi scripts form localhost/cgi-bin.<br
/> I would like to use however, cgi scripts from any directory (i.e. globally), a desire which echoes an earlier post. I can&#8217;t find informaton on this, and cannot figure it out.<br
/> Any ideas?</p> ]]></content:encoded> </item> <item><title>By: NK</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149836</link> <dc:creator>NK</dc:creator> <pubDate>Sun, 02 Aug 2009 21:47:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149836</guid> <description>I just turned ON the debug and noticed that it was trying to run /var/www/html/cgi-bin/test.pl, instead of /var/www/cgi-bin/test.pl. Changing server.document-root = “/var/www/html” to “/var/www” fixed it.</description> <content:encoded><![CDATA[<p>I just turned ON the debug and noticed that it was trying to run /var/www/html/cgi-bin/test.pl, instead of /var/www/cgi-bin/test.pl. Changing server.document-root = “/var/www/html” to “/var/www” fixed it.</p> ]]></content:encoded> </item> <item><title>By: NK</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149834</link> <dc:creator>NK</dc:creator> <pubDate>Sun, 02 Aug 2009 21:02:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149834</guid> <description>I just installed lightppd on Mandriva Linux 2008, and added following to /etc/lighttpd/lighttpd.conf, and restarted lighttpd:
server.modules += ( &quot;mod_cgi&quot; )
$HTTP[&quot;host&quot;]  =~ &quot;127.0.0.1&quot; {
server.document-root = &quot;/var/www/html&quot;
accesslog.filename   = &quot;/var/log/lighttpd/access.log&quot;
$HTTP[&quot;url&quot;] =~ &quot;/cgi-bin&quot; {
cgi.assign = ( &quot;.pl&quot; =&gt; &quot;/usr/bin/perl&quot; )
}
}
/var/www/cgi-bin/test.pl is 755.
Clicking on http://127.0.0.1/cgi-bin/test.pl gives &quot;404 - Not Found&quot;. Would you happen to know why? /var/log/lighttpd/error.log does not show anything, but /var/log/lighttpd/access.log has an entry:
127.0.0.1 127.0.0.1 - [02/Aug/2009:13:53:29 -0700] &quot;GET /cgi-bin/test.pl HTTP/1.1&quot; 404 345 &quot;-&quot; &quot;Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10&quot;
I have tried replacing 127.0.0.1 with localhost in the line &#039;$HTTP[&quot;host&quot;]  =~ &quot;127.0.0.1&quot; {&#039;, but that did not help either.</description> <content:encoded><![CDATA[<p>I just installed lightppd on Mandriva Linux 2008, and added following to /etc/lighttpd/lighttpd.conf, and restarted lighttpd:</p><p>server.modules += ( &#8220;mod_cgi&#8221; )<br
/> $HTTP["host"]  =~ &#8220;127.0.0.1&#8243; {<br
/> server.document-root = &#8220;/var/www/html&#8221;<br
/> accesslog.filename   = &#8220;/var/log/lighttpd/access.log&#8221;<br
/> $HTTP["url"] =~ &#8220;/cgi-bin&#8221; {<br
/> cgi.assign = ( &#8220;.pl&#8221; =&gt; &#8220;/usr/bin/perl&#8221; )<br
/> }<br
/> }</p><p>/var/www/cgi-bin/test.pl is 755.</p><p>Clicking on <a
href="http://127.0.0.1/cgi-bin/test.pl" rel="nofollow">http://127.0.0.1/cgi-bin/test.pl</a> gives &#8220;404 &#8211; Not Found&#8221;. Would you happen to know why? /var/log/lighttpd/error.log does not show anything, but /var/log/lighttpd/access.log has an entry:<br
/> 127.0.0.1 127.0.0.1 &#8211; [02/Aug/2009:13:53:29 -0700] &#8220;GET /cgi-bin/test.pl HTTP/1.1&#8243; 404 345 &#8220;-&#8221; &#8220;Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10&#8243;</p><p>I have tried replacing 127.0.0.1 with localhost in the line &#8216;$HTTP["host"]  =~ &#8220;127.0.0.1&#8243; {&#8216;, but that did not help either.</p> ]]></content:encoded> </item> <item><title>By: Durand</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149621</link> <dc:creator>Durand</dc:creator> <pubDate>Tue, 21 Jul 2009 22:52:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149621</guid> <description>Mostly worked well. In gentoo, I had to add this line to get it to work:
include &quot;mod_cgi.conf&quot;</description> <content:encoded><![CDATA[<p>Mostly worked well. In gentoo, I had to add this line to get it to work:<br
/> include &#8220;mod_cgi.conf&#8221;</p> ]]></content:encoded> </item> <item><title>By: Kilbane</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149464</link> <dc:creator>Kilbane</dc:creator> <pubDate>Mon, 13 Jul 2009 12:02:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-149464</guid> <description>Really easy and fin tutorial :)
Works fine for me :)</description> <content:encoded><![CDATA[<p>Really easy and fin tutorial :)<br
/> Works fine for me :)</p> ]]></content:encoded> </item> <item><title>By: Hawk</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-148925</link> <dc:creator>Hawk</dc:creator> <pubDate>Fri, 12 Jun 2009 04:09:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-148925</guid> <description>@nobody and @twit Friendly The &quot;so slow perl&quot; is probably due to your inability to program it properly.  The only thing faster then perl is mod_perl!  Why don&#039;t you use PHP.  It&#039;s a dumbed down version of perl and might be more to your speed.
Can anyone explain why it gives a 500 Internal Server Error?</description> <content:encoded><![CDATA[<p>@nobody and @twit Friendly The &#8220;so slow perl&#8221; is probably due to your inability to program it properly.  The only thing faster then perl is mod_perl!  Why don&#8217;t you use PHP.  It&#8217;s a dumbed down version of perl and might be more to your speed.</p><p>Can anyone explain why it gives a 500 Internal Server Error?</p> ]]></content:encoded> </item> <item><title>By: Twitter Friendly</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-148922</link> <dc:creator>Twitter Friendly</dc:creator> <pubDate>Thu, 11 Jun 2009 20:03:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-148922</guid> <description>thank you for the post. nginx has a limited embed implementation as well, alternatively you can wrap cgi for it and run Perl inside.
@nobody for many reasons too numerous to write down here.</description> <content:encoded><![CDATA[<p>thank you for the post. nginx has a limited embed implementation as well, alternatively you can wrap cgi for it and run Perl inside.<br
/> @nobody for many reasons too numerous to write down here.</p> ]]></content:encoded> </item> <item><title>By: nobody</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-148895</link> <dc:creator>nobody</dc:creator> <pubDate>Wed, 10 Jun 2009 07:19:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-148895</guid> <description>why using the so fast lighttpd when you are using the so slow perl... in 2009, it&#039;s really &lt;strong&gt;pathetic&lt;/strong&gt; still using perl...</description> <content:encoded><![CDATA[<p>why using the so fast lighttpd when you are using the so slow perl&#8230; in 2009, it&#8217;s really <strong>pathetic</strong> still using perl&#8230;</p> ]]></content:encoded> </item> <item><title>By: Dmitry</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147864</link> <dc:creator>Dmitry</dc:creator> <pubDate>Thu, 26 Mar 2009 15:48:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147864</guid> <description>Thanks Vivek,
The problem has been solved by reading POST data from stdin by cgi script.
Thanks.</description> <content:encoded><![CDATA[<p>Thanks Vivek,</p><p>The problem has been solved by reading POST data from stdin by cgi script.</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147859</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Thu, 26 Mar 2009 13:20:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147859</guid> <description>Check for directory permission and set +x permission on your script:
&lt;code&gt;chmod +x script.pl&lt;/code&gt;
Also, look at your error log file.</description> <content:encoded><![CDATA[<p>Check for directory permission and set +x permission on your script:<br
/> <code>chmod +x script.pl</code></p><p>Also, look at your error log file.</p> ]]></content:encoded> </item> <item><title>By: Dmitry</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147856</link> <dc:creator>Dmitry</dc:creator> <pubDate>Thu, 26 Mar 2009 09:30:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147856</guid> <description>Thank you!
Trying this sample I got 403 Forbidden from lighttpd.
Would you please, explain why?
Thanks again.</description> <content:encoded><![CDATA[<p>Thank you!</p><p>Trying this sample I got 403 Forbidden from lighttpd.</p><p>Would you please, explain why?</p><p>Thanks again.</p> ]]></content:encoded> </item> <item><title>By: Amir</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147684</link> <dc:creator>Amir</dc:creator> <pubDate>Mon, 16 Mar 2009 15:34:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147684</guid> <description>A life saver!
Thank you.</description> <content:encoded><![CDATA[<p>A life saver!<br
/> Thank you.</p> ]]></content:encoded> </item> <item><title>By: Thomas Martin Klein</title><link>http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147091</link> <dc:creator>Thomas Martin Klein</dc:creator> <pubDate>Sun, 08 Feb 2009 16:02:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-howto-setup-cgi-bin-access-for-perl-programs.html#comment-147091</guid> <description>Thanks for the info... it works like a charm,</description> <content:encoded><![CDATA[<p>Thanks for the info&#8230; it works like a charm,</p> ]]></content:encoded> </item> </channel> </rss>
