<?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"
	>
<channel>
	<title>Comments on: Ubuntu LAMP Server Guide - Configure Apache, mySQL, and cgi-bin</title>
	<atom:link href="http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/</link>
	<description>All things science and technology</description>
	<pubDate>Mon, 13 Oct 2008 06:14:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ed</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1544</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Tue, 30 Sep 2008 22:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1544</guid>
		<description>Yup, that didn&#39;t quite work, I got syntax error messages.  &lt;br&gt;&lt;br&gt; * Starting web server apache2                                                              Syntax error on line 20 of /etc/apache2/sites-enabled/whatever_you_want_to_call_profile:&lt;br&gt;ScriptAlias takes two arguments, a fakename and a realname&lt;br&gt;&lt;br&gt;Adding the suggested verbiage as a new paragraph below the default profile&#39;s ScriptAlias paragraph also didn&#39;t fly:&lt;br&gt;&lt;br&gt; [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/zaphu at line 46 will probably never match because it overlaps an earlier ScriptAlias.&lt;br&gt;&lt;br&gt;I&#39;ll just blow away my newly minted local cgi directory and use the default ones in /usr/lib (if I ever get to the point where I&#39;m using CGI) unless I can find clear instructions.&lt;br&gt;&lt;br&gt;It seems like merely commenting something out doesn&#39;t make it disappear as far as apache is concerned, very odd, there were times I had to remove lines to get the profile to work.&lt;br&gt;&lt;br&gt;Do you have to disable the webserver with "/etc/init.d/apache2 stop" and disable the profile with "a2dissite PROFILE_NAME" in order to edit your profile, then enable it again with "a2ensite PROFILE_NAME" and bring up the server with  "/etc/init.d/apache2 start" to test your changes?  Anyway, that&#39;s what I did.  It would be easier if you could just edit the file of an active PROFILE and then simply reload the web server with  "/etc/init.d/apache2 restart".&lt;br&gt;&lt;br&gt;BTW, one thing I would mention in a tutorial like this is that you have to set the right permissions for served files to be visible with a browser.  I had to use a command like this from a terminal as a regular user:&lt;br&gt;&lt;br&gt;  chmod -R a+xr ~/Public/&lt;br&gt;&lt;br&gt;Chmod changes permissions, "-R" makes it recursive (descends in to sub-directories), "a" means &#39;change this permission for ALL, "+rx" adds read and execute privileges (the later allows you to see into sub-folders).  &lt;br&gt;&lt;br&gt;A little knowledge is a dangerous thing...</description>
		<content:encoded><![CDATA[<p>Yup, that didn&#39;t quite work, I got syntax error messages.  </p>
<p> * Starting web server apache2                                                              Syntax error on line 20 of /etc/apache2/sites-enabled/whatever_you_want_to_call_profile:<br />ScriptAlias takes two arguments, a fakename and a realname</p>
<p>Adding the suggested verbiage as a new paragraph below the default profile&#39;s ScriptAlias paragraph also didn&#39;t fly:</p>
<p> [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/zaphu at line 46 will probably never match because it overlaps an earlier ScriptAlias.</p>
<p>I&#39;ll just blow away my newly minted local cgi directory and use the default ones in /usr/lib (if I ever get to the point where I&#39;m using CGI) unless I can find clear instructions.</p>
<p>It seems like merely commenting something out doesn&#39;t make it disappear as far as apache is concerned, very odd, there were times I had to remove lines to get the profile to work.</p>
<p>Do you have to disable the webserver with &#8220;/etc/init.d/apache2 stop&#8221; and disable the profile with &#8220;a2dissite PROFILE_NAME&#8221; in order to edit your profile, then enable it again with &#8220;a2ensite PROFILE_NAME&#8221; and bring up the server with  &#8220;/etc/init.d/apache2 start&#8221; to test your changes?  Anyway, that&#39;s what I did.  It would be easier if you could just edit the file of an active PROFILE and then simply reload the web server with  &#8220;/etc/init.d/apache2 restart&#8221;.</p>
<p>BTW, one thing I would mention in a tutorial like this is that you have to set the right permissions for served files to be visible with a browser.  I had to use a command like this from a terminal as a regular user:</p>
<p>  chmod -R a+xr ~/Public/</p>
<p>Chmod changes permissions, &#8220;-R&#8221; makes it recursive (descends in to sub-directories), &#8220;a&#8221; means &#39;change this permission for ALL, &#8220;+rx&#8221; adds read and execute privileges (the later allows you to see into sub-folders).  </p>
<p>A little knowledge is a dangerous thing&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1541</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Sun, 28 Sep 2008 22:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1541</guid>
		<description>Both of your tutorials that i&#39;ve read are clear and clean. Very easy to read and understand for the newest of noobs..&lt;br&gt;Thanks alot for taking the time to write em..</description>
		<content:encoded><![CDATA[<p>Both of your tutorials that i&#39;ve read are clear and clean. Very easy to read and understand for the newest of noobs..<br />Thanks alot for taking the time to write em..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1542</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Sun, 28 Sep 2008 19:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1542</guid>
		<description>I&#39;m a little unclear about Step 3 above about configuring a CGI directory.  My original /etc/apache2/sites-available/default file had the following verbiage (Hardy):&lt;br&gt;&lt;br&gt;        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br&gt;        &#60;Directory "/usr/lib/cgi-bin"&#62;&lt;br&gt;                AllowOverride None&lt;br&gt;                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch&lt;br&gt;                Order allow,deny&lt;br&gt;                Allow from all&lt;br&gt;        &#60;/Directory&#62;&lt;br&gt;&lt;br&gt;Should I add a new paragraph with something like:&lt;br&gt;&lt;br&gt;ScriptAlias /cgi-bin/ /home/USERNAME/public_html/cgi-bin/&lt;br&gt;&#60;Directory /home/USERNAME/public_html/cgi-bin/&#62;&lt;br&gt;          Options ExecCGI&lt;br&gt;          AddHandler cgi-script cgi pl&lt;br&gt;&#60;/Directory&#62; &lt;br&gt;&lt;br&gt;Or should I edit the existing paragraph on my modified "default" file  to look a bit like this:&lt;br&gt;&lt;br&gt;######################3&lt;br&gt;      ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ /home/USERNAME/Public/cgi-bin/&lt;br&gt;##      &#60;Directory "/usr/lib/cgi-bin"&#62;   # old&lt;br&gt;        &#60;Directory "/home/USERNAME/Public/cgi-bin/"&#62;&lt;br&gt;                AllowOverride None&lt;br&gt;                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch&lt;br&gt;## Added per zaphu&lt;br&gt;          AddHandler cgi-script cgi pl&lt;br&gt;                Order allow,deny&lt;br&gt;                Allow from all&lt;br&gt;        &#60;/Directory&#62;</description>
		<content:encoded><![CDATA[<p>I&#39;m a little unclear about Step 3 above about configuring a CGI directory.  My original /etc/apache2/sites-available/default file had the following verbiage (Hardy):</p>
<p>        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<br />        &lt;Directory &#8220;/usr/lib/cgi-bin&#8221;&gt;<br />                AllowOverride None<br />                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch<br />                Order allow,deny<br />                Allow from all<br />        &lt;/Directory&gt;</p>
<p>Should I add a new paragraph with something like:</p>
<p>ScriptAlias /cgi-bin/ /home/USERNAME/public_html/cgi-bin/<br />&lt;Directory /home/USERNAME/public_html/cgi-bin/&gt;<br />          Options ExecCGI<br />          AddHandler cgi-script cgi pl<br />&lt;/Directory&gt; </p>
<p>Or should I edit the existing paragraph on my modified &#8220;default&#8221; file  to look a bit like this:</p>
<p>######################3<br />      ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ /home/USERNAME/Public/cgi-bin/<br />##      &lt;Directory &#8220;/usr/lib/cgi-bin&#8221;&gt;   # old<br />        &lt;Directory &#8220;/home/USERNAME/Public/cgi-bin/&#8221;&gt;<br />                AllowOverride None<br />                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch<br />## Added per zaphu<br />          AddHandler cgi-script cgi pl<br />                Order allow,deny<br />                Allow from all<br />        &lt;/Directory&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nasser</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1451</link>
		<dc:creator>nasser</dc:creator>
		<pubDate>Sat, 30 Aug 2008 13:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1451</guid>
		<description>very very clear Guide&lt;br&gt;&lt;br&gt;thank you very much</description>
		<content:encoded><![CDATA[<p>very very clear Guide</p>
<p>thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 100个技巧或工具建立你自己的家用 LAMP 服务器 &#124; Linux 服务器 &#124; 站长日志</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1443</link>
		<dc:creator>100个技巧或工具建立你自己的家用 LAMP 服务器 &#124; Linux 服务器 &#124; 站长日志</dc:creator>
		<pubDate>Tue, 26 Aug 2008 13:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1443</guid>
		<description>[...] Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you’d like them to be. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you’d like them to be. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 100 Tips and Tools to set up a LAMP Server &#171; Jatex&#8217;s Weblog</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1424</link>
		<dc:creator>100 Tips and Tools to set up a LAMP Server &#171; Jatex&#8217;s Weblog</dc:creator>
		<pubDate>Thu, 21 Aug 2008 15:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1424</guid>
		<description>[...] Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you’d like them to be. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you’d like them to be. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web World Wide &#187; 100 Tips and Tools to Set Up Your Own Home LAMP Server</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1420</link>
		<dc:creator>Web World Wide &#187; 100 Tips and Tools to Set Up Your Own Home LAMP Server</dc:creator>
		<pubDate>Thu, 21 Aug 2008 14:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1420</guid>
		<description>[...] Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you&#8217;d like them to be. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ubuntu LAMP Server Guide-Configure Apache, mySQL, and cgi-bin: This tutorial explains how to get LAMP components set up the way you&#8217;d like them to be. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polyGeek.com &#187; Blog Archive &#187; Flexbuilder on Ubuntu</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1409</link>
		<dc:creator>polyGeek.com &#187; Blog Archive &#187; Flexbuilder on Ubuntu</dc:creator>
		<pubDate>Thu, 14 Aug 2008 16:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-1409</guid>
		<description>[...] Ubuntu LAMP Server Guide - Configure Apache, mySQL, and cgi-bin [...]</description>
		<content:encoded><![CDATA[<p>[...] Ubuntu LAMP Server Guide - Configure Apache, mySQL, and cgi-bin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-821</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 16 Jul 2008 11:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-821</guid>
		<description>AHA!

nvm all is fine now and i can see my page on the net by its wan ip address :D i know what i need to do now. thanks for the help a great guide you have written.</description>
		<content:encoded><![CDATA[<p>AHA!</p>
<p>nvm all is fine now and i can see my page on the net by its wan ip address <img src='http://www.zaphu.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> i know what i need to do now. thanks for the help a great guide you have written.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.zaphu.com/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-820</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 16 Jul 2008 10:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zaphu.com/v1/2007/08/21/ubuntu-lamp-server-guide-configure-apache-mysql-and-cgi-bin/#comment-820</guid>
		<description>so how do i fix this?</description>
		<content:encoded><![CDATA[<p>so how do i fix this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.358 seconds -->
