<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>cyprich.com</title>
	
	<link>http://www.cyprich.com</link>
	<description>Occasionally Relevant Insights from a Software Builder</description>
	<lastBuildDate>Tue, 07 Sep 2010 08:46:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Cyprichcom" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="cyprichcom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Cyprichcom</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Arthur C. Clarke and the Dot Com Lifestyle</title>
		<link>http://www.cyprich.com/2010/09/07/arthur-c-clarke-and-the-dot-com-lifestyle/</link>
		<comments>http://www.cyprich.com/2010/09/07/arthur-c-clarke-and-the-dot-com-lifestyle/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 07:56:16 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[Sir Arthur C. Clarke is one of the most famous science fiction authors and was known as one the “Big Three” of science fiction (the other two were Robert A. Heinlein and Isaac Asimov). His book, 2001: A Space Odyssey, and the film made from it  inspired a whole generation of children to pursue engineering [...]]]></description>
			<content:encoded><![CDATA[<p>Sir Arthur C. Clarke is one of the most famous science fiction authors and was known as one the “Big Three” of science fiction (the other two were Robert A. Heinlein and Isaac Asimov). His book, <em>2001: A Space Odyssey</em>, and the film made from it  inspired a whole generation of children to pursue engineering and the natural sciences.<table align="right">
<tr>
<td>
<script type="text/javascript"><!--
google_ad_client = "pub-2737139081127841";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2006-12-05: www.cyprich.com
google_ad_channel = "2715439300";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table></p>
<p><strong>Predicting the Future in 1964</strong></p>
<p>In addition to his writing ability, he had a talent for predicting the future. The video clip below shows him predicting what the future may hold 50 years later. This is from a BBC programme called Horizon made in 1964. At the time, there was no Internet and its forerunner, ARPANET, wouldn’t go online until 1969. He predicted what is becoming more and more common today: people working from home and making money online. Instead of going to a physical location to work, they would be able to work anywhere and communicate with clients/co-workers through the Internet.</p>
<div class="wpv_videoc">
<div class="wpv_video"><object data="http://www.youtube.com/v/AOaZspeSBZU" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="http://www.youtube.com/v/AOaZspeSBZU"></param></object></div>
</div>
<p><strong>Highlights of the Video</strong></p>
<p>“A world in which we can be instant contact with each other, wherever we may be, we can contact our friends anywhere on earth even if we don’t know their actual physical locations. It will be possible in that age, perhaps only 50 years from now, for a man to conduct his business from Haiti or Bali just as well as he could from London. In fact, if it would prove worthwhile, almost any executive skill, any administrative skill, even many physical skills could be made independent of distance. I am perfectly serious when I suggest that one day we may have brain surgeons in Edinburgh operating on patients in New Zealand. When that time comes, the whole world would have shrunk to a point and the traditional role of a city as a meeting place for man would have ceased to make any sense. In fact, men will no longer commute, they will communicate. They won’t have to travel distance any more, they’d only travel for pleasure.”</p>
<p><strong>The Dot Com Lifestyle for Everyone</strong></p>
<p>We’re not quite at the point which Clarke describes and it will probably be another decade or two for it to happen. Canada and the US are increasingly becoming information and services based which is ideal for working online. The only real challenge is the acceptance of working this way and if the growth of social networking is any indication, we&#8217;re well on our way there.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/8ZG_6XzRFPWcZBImap43BIyZINg/0/da"><img src="http://feedads.g.doubleclick.net/~a/8ZG_6XzRFPWcZBImap43BIyZINg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8ZG_6XzRFPWcZBImap43BIyZINg/1/da"><img src="http://feedads.g.doubleclick.net/~a/8ZG_6XzRFPWcZBImap43BIyZINg/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/09/07/arthur-c-clarke-and-the-dot-com-lifestyle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Report Server URL in DFS</title>
		<link>http://www.cyprich.com/2010/08/17/changing-report-server-url-in-dfs/</link>
		<comments>http://www.cyprich.com/2010/08/17/changing-report-server-url-in-dfs/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 22:03:22 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[Adenium Systems tech support recommended that an internal URL for the DFS report server is used as opposed to an external one. This is likely due to increased performance in accessing the URL. To change this URL, open Library Manager and right click on the Library and then select the option to edit. Go to [...]]]></description>
			<content:encoded><![CDATA[<p>Adenium Systems tech support recommended that an internal URL for the DFS report server is used as opposed to an external one. This is likely due to increased performance in accessing the URL.</p>
<p>To change this URL, open Library Manager and right click on the Library and then select the option to edit. Go to the Settings tab and edit the Report Server URL (see below) so that it has an internal URL.</p>
<p> <table align="right">
<tr>
<td>
<script type="text/javascript"><!--
google_ad_client = "pub-2737139081127841";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2006-12-05: www.cyprich.com
google_ad_channel = "2715439300";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Report Server URL in DFS library settings." border="0" alt="Report Server URL in DFS library settings." src="http://www.cyprich.com/images/2010/ab9d53417574_CC08/image_thumb.png" width="534" height="68" /> </p>
</p>
<p>Go back to the Description tab and add an internal URL (i.e. 192.168.147.7) here. If you leave this blank, DFS will use the external URL for the Internal Portal URL when you preview the planroom in the Library Manager. Each time you edit something in the library settings, you need to set the IP here or it will save as blank. The <em>Internal IP Address</em> always starts off as a blank and it will save like that if you press the OK button.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Internal IP Address in DFS library settings." border="0" alt="Internal IP Address in DFS library settings." src="http://www.cyprich.com/images/2010/ab9d53417574_CC08/image_thumb_3.png" width="439" height="52" /></p>

<p><a href="http://feedads.g.doubleclick.net/~a/vAAR0z_12n2j9ZmYO3dG9gCBZS0/0/da"><img src="http://feedads.g.doubleclick.net/~a/vAAR0z_12n2j9ZmYO3dG9gCBZS0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vAAR0z_12n2j9ZmYO3dG9gCBZS0/1/da"><img src="http://feedads.g.doubleclick.net/~a/vAAR0z_12n2j9ZmYO3dG9gCBZS0/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/17/changing-report-server-url-in-dfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up URL Rewriting for Apache in Linux</title>
		<link>http://www.cyprich.com/2010/08/17/setting-up-url-rewriting-for-apache-in-linux/</link>
		<comments>http://www.cyprich.com/2010/08/17/setting-up-url-rewriting-for-apache-in-linux/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 18:23:32 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[Search Engine Friendly (SEF) URL’s are very common today with the widespread use of content management systems (CMS). These are URL’s that look like http://www.website.com/about as opposed to the conventional http://www.website.com/about.html. An SEF URL in a CMS would replace something like http://www.website.com?id=34. The advantages of SEF over conventional URL’s is that they are shorter and [...]]]></description>
			<content:encoded><![CDATA[<p>Search Engine Friendly (SEF) URL’s are very common today with the widespread use of content management systems (CMS). These are URL’s that look like <strong>http://www.website.com/about</strong> as opposed to the conventional <strong>http://www.website.com/about.html</strong>. An SEF URL in a CMS would replace something like <strong>http://www.website.com?id=34.</strong></p>
<p> <!--adsense-->
<p>The advantages of SEF over conventional URL’s is that they are shorter and easier to send to people, and they also increase the security of a web site by hiding components are being used on a page. In its <a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;answer=35769" target="_blank">webmaster guidelines</a>, Google recommends caution in using dynamic web pages:</p>
<blockquote><p>If you decide to use dynamic pages (i.e., the URL contains a &quot;?&quot; character), be aware that not every search engine spider crawls dynamic pages as well as static pages. It helps to keep the parameters short and the number of them few.</p>
</blockquote>
<p>CMS users need to take extra steps for content presentation:</p>
<blockquote><p>If your company buys a content management system, make sure that the system creates pages and links that search engines can crawl.</p>
</blockquote>
<p>A CMS may generate a long and complex URL which can prevent a search engine from indexing it. An SEF URL will shorten the URL and remove the ? character which sets off warnings with web crawlers.</p>
<p>The first thing that you need to do is determine if mod_rewrite is installed in Apache. You can find this by using the phpinfo () function (see phpinfo.php for example). This function will display a long list of settings that PHP and Apache are using. Scroll down to <em>apache2handler</em> and check if <em>mod_rewrite</em> is in <em>Loaded Modules</em>.</p>
<p>&#160;</p>
<p><font color="#008000" size="2" face="Courier New">[== Code: phpinfo.php =================================]</font></p>
<p><font size="2" face="Courier New">&lt;html&gt;      <br />&#160; &lt;head&gt;       <br />&#160;&#160;&#160; &lt;title&gt;PHP Info&lt;/title&gt;       <br />&#160; &lt;/head&gt;</font></p>
<p><font size="2" face="Courier New">&#160; &lt;body&gt;      <br />&#160;&#160;&#160; &lt;?php phpinfo (); ?&gt;       <br />&#160; &lt;/body&gt;       <br />&lt;/html&gt;</font></p>
<p><font color="#008000" size="2" face="Courier New">[== Code ==============================================]</font></p>
<p>&#160;</p>
<p>If the module is installed, but URL rewriting doesn’t work, you’ll need to make minor changes to the httpd.conf file located at /etc/httpd/conf/. Change AllowOverride to All (see httpd.conf below). You may need to change this in several place in the configuration file before URL rewriting works.</p>
<p>&#160;</p>
<p><font color="#008000" size="2" face="Courier New">[== Code: httpd.conf ==================================]</font></p>
<p><font size="2"></font><font face="Courier New"># AllowOverride controls what directives may be placed in .htaccess files.        <br /># It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:         <br />#&#160;&#160; Options FileInfo AuthConfig Limit         <br />#         <br />&#160;&#160;&#160; AllowOverride <strong><font color="#ff0000">All</font></strong></font></p>
<p><font color="#008000" size="2" face="Courier New">[== Code ==============================================]</font></p>
<p>&#160;</p>
<p>After you made the changes, you’ll need to restart Apache. If your not sure how to do this, see <a href="http://www.cyprich.com/2010/08/12/how-to-start-stop-and-restart-apache-in-linux/" target="_blank">How to Start, Stop, and Restart Apache in Linux</a>.&#160; Test mod_rewrite by loading the following files (.htaccess, one.html, two.html) on your web server. The RewriteBase setting in .htaccess should point to the subfolder in your web server (i.e. /rewrite/) if the default setting below doesn’t work. When you browse to one.html, you should be redirected to two.html. </p>
<p>You can download the code below <a href="http://www.cyprich.com/files/rewrite_url_test.zip">here</a>.</p>
<p>&#160;</p>
<p><font color="#008000" size="2" face="Courier New">[== Code: .htaccess ===================================]</font>&#160;</p>
<p><font size="2" face="Courier New">RewriteEngine On      <br />RewriteBase /       <br />RewriteRule ^one.html$ two.html</font> </p>
<p><font color="#008000" size="2" face="Courier New">[== Code ==============================================]</font></p>
<p>&#160;</p>
<p><font color="#008000" size="2" face="Courier New">[== Code: one.html ====================================]</font></p>
<p><font size="2" face="Courier New">&lt;html&gt;      <br />&#160; &lt;head&gt;       <br />&#160;&#160;&#160; &lt;title&gt;One&lt;/title&gt;       <br />&#160; &lt;/head&gt;       <br />&#160; &lt;body&gt;       <br />&#160;&#160;&#160; &lt;p&gt;       <br />&#160;&#160;&#160;&#160;&#160; This is the number one.       <br />&#160;&#160;&#160; &lt;/p&gt;       <br />&#160; &lt;/body&gt;       <br />&lt;/html&gt;</font></p>
<p><font color="#008000" size="2" face="Courier New">[== Code ==============================================]</font></p>
<p>&#160;</p>
<p><font color="#008000" size="2" face="Courier New">[== Code: two.html ====================================]</font></p>
<p><font size="2" face="Courier New">&lt;html&gt;      <br />&#160; &lt;head&gt;       <br />&#160;&#160;&#160; &lt;title&gt;Two&lt;/title&gt;       <br />&#160; &lt;/head&gt;       <br />&#160; &lt;body&gt;       <br />&#160;&#160;&#160; &lt;p&gt;       <br />&#160;&#160;&#160;&#160;&#160; This is the number two.       <br />&#160;&#160;&#160; &lt;/p&gt;       <br />&#160; &lt;/body&gt;       <br />&lt;/html&gt;</font></p>
<p><font color="#008000" size="2" face="Courier New">[== Code ==============================================]</font></p>

<p><a href="http://feedads.g.doubleclick.net/~a/PqR7uiq-5kTnRZiF1KaKN6CfbsQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/PqR7uiq-5kTnRZiF1KaKN6CfbsQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/PqR7uiq-5kTnRZiF1KaKN6CfbsQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/PqR7uiq-5kTnRZiF1KaKN6CfbsQ/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/17/setting-up-url-rewriting-for-apache-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Start, Stop, and Restart Apache in Linux</title>
		<link>http://www.cyprich.com/2010/08/12/how-to-start-stop-and-restart-apache-in-linux/</link>
		<comments>http://www.cyprich.com/2010/08/12/how-to-start-stop-and-restart-apache-in-linux/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 21:58:15 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[At various times, you will need to manually start and stop Apache. This could be due to making changes in the httpd.conf file which requires a restart, or the web server could be experiencing problems. You can perform these commands in a Linux terminal with httpd. To start Apache, type /etc/init.d/httpd start To stop Apache, [...]]]></description>
			<content:encoded><![CDATA[<p>At various times, you will need to manually start and stop Apache. This could be due to making changes in the httpd.conf file which requires a restart, or the web server could be experiencing problems. You can perform these commands in a Linux terminal with httpd.</p>
<p> <!--adsense-->
<ol>
<li>To start Apache, type      <br />/etc/init.d/httpd start       </li>
<li>To stop Apache, type      <br />/etc/init.d/httpd stop       </li>
<li>To restart Apache, type      <br />/etc/init.d/httpd restart </li>
</ol>
<p><strong>Setting the ServerName</strong></p>
<p>One problem that you may encounter when you start or restart Apache is that the domain name may not be defined. This can easily be fixed by opening the httpd.conf file in the <em>/etc/init.d/conf/</em> folder and editing <em>ServerName</em> (it may have been commented out). See below for error:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Apache Error: can&#39;t determine ServerName." border="0" alt="Apache Error: can&#39;t determine ServerName." src="http://www.cyprich.com/images/2010/474c43362ba3_C1CE/image_thumb.png" width="500" height="79" /> </p>
<p>Give a meaningful name to this variable and the warning will no longer be displayed when starting Apache (see below):</p>
<p><font size="1" face="Courier New"># ServerName gives the name and port that the server uses to identify itself.     <br /># This can often be determined automatically, but we recommend you specify      <br /># it explicitly to prevent problems during startup.      <br />#      <br /># If this is not set to valid DNS name for your host, server-generated      <br /># redirections will not work.&#160; See also the UseCanonicalName directive.      <br />#      <br /># If your host doesn&#8217;t have a registered DNS name, enter its IP address here.      <br /># You will have to access it by its address anyway, and this will make       <br /># redirections work in a sensible way.      <br />#      <br />ServerName webserver</font></p>

<p><a href="http://feedads.g.doubleclick.net/~a/-D7yPsChUdava_tmIfNjPZIQ8CU/0/da"><img src="http://feedads.g.doubleclick.net/~a/-D7yPsChUdava_tmIfNjPZIQ8CU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-D7yPsChUdava_tmIfNjPZIQ8CU/1/da"><img src="http://feedads.g.doubleclick.net/~a/-D7yPsChUdava_tmIfNjPZIQ8CU/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/12/how-to-start-stop-and-restart-apache-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display a List of Installed Modules in Apache</title>
		<link>http://www.cyprich.com/2010/08/11/display-a-list-of-installed-modules-in-apache/</link>
		<comments>http://www.cyprich.com/2010/08/11/display-a-list-of-installed-modules-in-apache/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 22:29:28 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[If your having problems with a feature in Apache, such as URL rewriting, you can check if the rewrite_module was installed. The following procedure works on a Linux terminal with Apache 2.x. httpd –l Lists compiled (static) modules. httpd –M Lists shared/dynamic modules. You can also use apachectl –D DUMP_MODULES.]]></description>
			<content:encoded><![CDATA[<p>If your having problems with a feature in Apache, such as URL rewriting, you can check if the rewrite_module was installed. The following procedure works on a Linux terminal with Apache 2.x.</p>
<p> <!--adsense-->
<ol>
<li>httpd –l      <br />Lists compiled (static) modules.       </li>
<li>httpd –M      <br />Lists shared/dynamic modules. You can also use <em>apachectl –D DUMP_MODULES</em>.</li>
</ol>

<p><a href="http://feedads.g.doubleclick.net/~a/_UoONLL9tsfFUdHkG9W5wWYL41w/0/da"><img src="http://feedads.g.doubleclick.net/~a/_UoONLL9tsfFUdHkG9W5wWYL41w/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_UoONLL9tsfFUdHkG9W5wWYL41w/1/da"><img src="http://feedads.g.doubleclick.net/~a/_UoONLL9tsfFUdHkG9W5wWYL41w/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/11/display-a-list-of-installed-modules-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Windows Workgroup in Linux</title>
		<link>http://www.cyprich.com/2010/08/06/set-windows-workgroup-in-linux/</link>
		<comments>http://www.cyprich.com/2010/08/06/set-windows-workgroup-in-linux/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:00:00 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://www.cyprich.com/2010/08/06/set-windows-workgroup-in-linux/</guid>
		<description><![CDATA[A Linux computer can connect to a Windows network through Samba, which can be easily in installed in Fedora and other distributions. You will need to enter the workgroup that the Windows network uses in order to connect to it. This information can be entered in the smb.conf file found at /etc/samba. You can edit [...]]]></description>
			<content:encoded><![CDATA[<p>A Linux computer can connect to a Windows network through Samba, which can be easily in installed in Fedora and other distributions. You will need to enter the workgroup that the Windows network uses in order to connect to it. This information can be entered in the smb.conf file found at /etc/samba.</p>
<p> <!--adsense-->
<p>You can edit the file with the following command:</p>
<p>&#160;&#160;&#160; vi /etc/samba/smb.conf</p>
<p>Scroll down until you find workgroup (see below) and change the name to match your Windows workgroup setting.</p>
<p><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="Setting workgroup in smb.conf." src="http://www.cyprich.com/images/2010/SetWindowsWorkgroupinLinux_FD83/image.png" width="504" height="397" /></p>

<p><a href="http://feedads.g.doubleclick.net/~a/DgncL1CHyjMRRstsMKY4Ln_mQt0/0/da"><img src="http://feedads.g.doubleclick.net/~a/DgncL1CHyjMRRstsMKY4Ln_mQt0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DgncL1CHyjMRRstsMKY4Ln_mQt0/1/da"><img src="http://feedads.g.doubleclick.net/~a/DgncL1CHyjMRRstsMKY4Ln_mQt0/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/06/set-windows-workgroup-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Fix 99% of Computer Problems</title>
		<link>http://www.cyprich.com/2010/08/05/how-to-fix-99-of-computer-problems/</link>
		<comments>http://www.cyprich.com/2010/08/05/how-to-fix-99-of-computer-problems/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 21:06:09 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[It never ceases to amaze me how often people automatically contact their IT department or technical support when problems occur on their computer. Typical issues are programs freezing, not seeing a folder on a network, or e-mail not sending. While some of these may be due to hardware failures, most often they are very simple [...]]]></description>
			<content:encoded><![CDATA[<p>It never ceases to amaze me how often people automatically contact their IT department or technical support when problems occur on their computer. Typical issues are programs freezing, not seeing a folder on a network, or e-mail not sending. While some of these may be due to hardware failures, most often they are very simple to fix.</p>
<p> <!--adsense-->
<p>So, here is my list of things to do (not in any particular order):</p>
<p><strong>1. Reboot the Computer</strong></p>
<p>Software isn’t perfect. There are many components in an application which interact with each other and the operating system and things can go bad and crash. Or the application may just stop working correctly. Closing the program and running it again may be enough to fix this, but if the problem is with .NET, Java, or a memory leak, rebooting would be the best solution.</p>
<p><strong>2. Press the F5 Key</strong></p>
<p>An error can occur when trying to view a web site, or you can’t find a file that a coworker just placed in one of your folders. Pressing the F5 key will refresh a web browser or file browser and you’ll get an updated view of it. Most applications have options to refresh content and have a context menu (right click in a blank area) that will give you the option to refresh.</p>
<p><strong>3. Wait a Little While</strong></p>
<p>If your e-mail isn’t sending, the problem may be with your internet provider. They may be down or doing maintenance. Instead of phoning them (after being on hold for 10 minutes) and complaining, give them some time to fix the problem. Phoning them won’t fix the problem faster. You can be assured that they are doing the best they can to get back online because they want your continued business.</p>
<p><strong>4. Learn More</strong></p>
<p>This isn’t really a quick fix, but learning how to use your computer and software can really go a long way in being productive and working well. I find that most people know just how to push buttons but don’t really understand what’s going on. So when any problem occurs, they don’t try to think about how to fix it and call someone more technical for assistance.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/FOF0bjGHKYdWS3xyQ3ejnowJWQk/0/da"><img src="http://feedads.g.doubleclick.net/~a/FOF0bjGHKYdWS3xyQ3ejnowJWQk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FOF0bjGHKYdWS3xyQ3ejnowJWQk/1/da"><img src="http://feedads.g.doubleclick.net/~a/FOF0bjGHKYdWS3xyQ3ejnowJWQk/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/05/how-to-fix-99-of-computer-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the PowerShell Version</title>
		<link>http://www.cyprich.com/2010/08/04/getting-the-powershell-version/</link>
		<comments>http://www.cyprich.com/2010/08/04/getting-the-powershell-version/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 20:37:35 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[To find out which version of PowerShell is installed in your computer, you need to do more than just run it. When you start the command line interface, your lead to believe that version 1.0 is installed from the directory location displayed in the dialog box. The text in the dialog box shows C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe, which [...]]]></description>
			<content:encoded><![CDATA[<p>To find out which version of PowerShell is installed in your computer, you need to do more than just run it. When you start the command line interface, your lead to believe that version 1.0 is installed from the directory location displayed in the dialog box.</p>
<p> <!--adsense-->
<p>The text in the dialog box shows C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe, which would make it seem like you were running version 1.0. The best way to determine which version is installed is to run the PowerShell command line interface and execute the following command:</p>
<p>&#160;&#160;&#160; $Host.Version</p>
<p>This will give you the major and minor versions, along with the build and revision.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.cyprich.com/images/2010/FindingtheVersionofPowerShell_BDB5/image.png" width="536" height="179" /></p>

<p><a href="http://feedads.g.doubleclick.net/~a/7-eFRTjxF_rYl2FL4x6WAcQjTJ8/0/da"><img src="http://feedads.g.doubleclick.net/~a/7-eFRTjxF_rYl2FL4x6WAcQjTJ8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7-eFRTjxF_rYl2FL4x6WAcQjTJ8/1/da"><img src="http://feedads.g.doubleclick.net/~a/7-eFRTjxF_rYl2FL4x6WAcQjTJ8/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/08/04/getting-the-powershell-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SendMail Function for PowerShell</title>
		<link>http://www.cyprich.com/2010/07/27/sendmail-function-for-powershell/</link>
		<comments>http://www.cyprich.com/2010/07/27/sendmail-function-for-powershell/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 22:13:12 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[The SendMail function for PowerShell will send an e-mail through an SMTP server. I’m currently using it for backing up a web server to a virtual machine and sending a confirmation by e-mail on the status of the backup. Usage is very simple: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SendMail Host From To Subject Message UserName Password The Host is [...]]]></description>
			<content:encoded><![CDATA[<p>The SendMail function for PowerShell will send an e-mail through an SMTP server. I’m currently using it for backing up a web server to a virtual machine and sending a confirmation by e-mail on the status of the backup.</p>
<p> <!--adsense-->
<p>Usage is very simple:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>SendMail</strong> Host From To Subject Message UserName Password</p>
<p>The <em>Host</em> is the mail server address, i.e. smtp.mail.com. The <em>From</em> and <em>To</em> are the sender and receiver of the e-mail. The <em>Subject</em> and <em>Message</em> are the title and contents of the e-mail. If authentication is required, then enter values for the <em>UserName</em> and <em>Password</em>, otherwise make them blank using single quotes, i.e. ‘’.</p>
<p>The function will return a boolean value: <em>true</em> if the mail was sent successfully, <em>false</em> if it couldn’t be sent. See example in this post.</p>
<p>&#160;</p>
<p><strong>SendMail Code</strong></p>
<p>The following is the code for the SendMail function which can be pasted in your PowerShell application.</p>
<p><font color="#008000">[== Code ==============================================]</font></p>
<p><font face="Courier New">function SendMail ([string] $sHost, [string] $sFrom, [string] $sTo, [string] $sSubject, [string] $sMessage, [string] $sUserName, [string] $sPassword) </font></p>
<p><font face="Courier New">####################################################################################################      <br /># PURPOSE:       <br />#&#160;&#160; Sends an e-mail to an SMTP server. It will also authenticate to the server if a user name and       <br />#&#160;&#160; password are sent to the function. If authentication is not used, leave $sUserName and $sPassowrd       <br />#&#160;&#160; blank, i.e. &#8221;.       <br />#       <br /># PARAMETERS:       <br />#&#160;&#160; $sHost (in) &#8211; host name of mail server       <br />#&#160;&#160; $sFrom (in) &#8211; e-mail address of mail sender       <br />#&#160;&#160; $sTo (in) &#8211; e-mail address of mail recipient       <br />#&#160;&#160; $sSubject (in) &#8211; subject title of message       <br />#&#160;&#160; $sMessage (in) &#8211; message sent to recipient       <br />#&#160;&#160; $sUserName (in) &#8211; user name for authentication       <br />#&#160;&#160; $sPassword (in) &#8211; password for authentication       <br />#       <br /># RETURN:       <br />#&#160;&#160; True &#8211; mail was sent succesfully       <br />#&#160;&#160; False &#8211; mail was not sent       <br />#################################################################################################### </font></p>
<p><font face="Courier New">{      <br />&#160; [bool] $bSuccess = 1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; # was mail sent without problems? </font></p>
<p><font face="Courier New">&#160; $SmtpClient = new-object system.net.mail.smtpClient&#160; <br />&#160; $smtpclient.Host = $sHost </font></p>
<p><font face="Courier New">&#160; # Authenticate only if a user name and password are set.      <br />&#160; if (($sUsername -ne &#8221;) -band ($sPassword -ne &#8221;))       <br />&#160; {       <br />&#160;&#160;&#160; $Credentials = new-object System.Net.networkCredential </font></p>
<p><font face="Courier New">&#160;&#160;&#160; $Credentials.domain = &quot;&quot;      <br />&#160;&#160;&#160; $Credentials.UserName = $sUserName       <br />&#160;&#160;&#160; $Credentials.Password = $sPassword       <br />&#160;&#160;&#160; $SMTPClient.Credentials = $Credentials       <br />&#160; } # if (($sUsername -ne &#8221;) -band ($sPassword -ne &#8221;)) </font></p>
<p><font face="Courier New">&#160; # Send the mail.      <br />&#160; try       <br />&#160; {       <br />&#160;&#160;&#160; $smtpclient.Send($sFrom, $sTo, $sSubject, $sMessage)       <br />&#160; }       <br />&#160; catch       <br />&#160; {       <br />&#160;&#160;&#160; $bSuccess = 0       <br />&#160; }       <br />&#160; $bSuccess       <br />} # SendMail</font></p>
<p><font color="#008000">[== Code ==============================================]</font></p>
<p>&#160;</p>
<p><strong>Example of the SendMail Function</strong></p>
<p>This is an example of how the SendMail function should be used.</p>
<p><font color="#008000">[== Code ==============================================]</font></p>
<p>$<font face="Courier New">bSent = SendMail &#8216;smtp.mail.com&#8217; &#8216;sender@website.com&#8217; &#8216;recipient@website.com&#8217; &#8216;Test&#8217; &#8216;This is a test.&#8217; &#8216;sender@website.com&#8217; &#8216;abc123&#8242; </font></p>
<p><font face="Courier New">if ($bSent)      <br />{       <br />&#160; &quot;Mail sent successfully.&quot;       <br />}</font></p>
<p><font face="Courier New">     <br />else       <br />{       <br />&#160; &quot;Mail not sent.&quot;       <br />}</font></p>
<p><font color="#008000">[== Code ==============================================]</font></p>
<p>&#160;</p>
<p>You can download the SendMail code and example <a href="http://www.cyprich.com/files/sendmail.ps1" target="_blank">here</a>.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/nbI3dLIZlWm9HLrPE3O-7VPIYek/0/da"><img src="http://feedads.g.doubleclick.net/~a/nbI3dLIZlWm9HLrPE3O-7VPIYek/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/nbI3dLIZlWm9HLrPE3O-7VPIYek/1/da"><img src="http://feedads.g.doubleclick.net/~a/nbI3dLIZlWm9HLrPE3O-7VPIYek/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/07/27/sendmail-function-for-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Redirect Web Pages (Part 1)</title>
		<link>http://www.cyprich.com/2010/07/26/how-to-redirect-web-pages-part-1/</link>
		<comments>http://www.cyprich.com/2010/07/26/how-to-redirect-web-pages-part-1/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 01:43:02 +0000</pubDate>
		<dc:creator>Johan Cyprich</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false" />
		<description><![CDATA[Redirecting web pages becomes necessary when a web site is updated and old pages are replaced with new ones. This is very common when a site is upgraded to a CMS which typically displays pages as folders (i.e. www.website.com/about) as opposed to www.website.com/about.htm. Its important to redirect old pages to new ones because if the [...]]]></description>
			<content:encoded><![CDATA[<p>Redirecting web pages becomes necessary when a web site is updated and old pages are replaced with new ones. This is very common when a site is upgraded to a CMS which typically displays pages as folders (i.e. www.website.com/about) as opposed to www.website.com/about.htm.</p>
<p><!--adsense--></p>
<p>Its important to redirect old pages to new ones because if the old page is bookmarked in a web browser, it will lead to a 404 error page and the user will probably not try to manually change the URL to go to the home page. Also, its better for SEO to have a consistent page structure in your site.</p>
<p><strong>Redirection in IIS</strong></p>
<p>The easiest way to redirect web pages is through the Management Console in IIS in Windows. Find the page you want to redirect, right click on it, and select Properties. This will give you the following dialog box.</p>
<p><img style="display: inline; border-width: 0px;" title="Redirecting a Page in IIS" src="http://www.cyprich.com/images/2010/HowtoRedirectWebPages_1019B/image_thumb.png" border="0" alt="Redirecting a Page in IIS" width="472" height="447" /></p>
<p>Select the <strong>A redirection to a URL</strong> radio button and enter the URL of the new page in the <strong>Redirect to</strong> textbox. Press the OK button to save the settings. When the page is viewed in a web browser, it will automatically redirect the browser to http://www.website.com/about.</p>
<p><strong>Redirecting Using HTML</strong></p>
<p>You can also give instructions to redirect in a web page. The page that needs to be directed will contain the code below. The meta tag should be enough to do the redirect, but on some web servers it may not work. The JavaScript below will redirect only if JavaScript is enabled on the user’s web browser. The meta redirect is done on the server side and doesn’t require any settings on the user’s part.</p>
<p>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Refresh&#8221; content=&#8221;0; http://www.website.com/about&#8221;&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;<br />
&lt;script language=&#8221;javascript&#8221;&gt;<br />
window.location = “http://www.website.com/about”;<br />
&lt;/script&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>In Part 2, I’ll show you how to redirect web pages in Apache using .htaccess.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/f3vZPLRqcj2dMeoxUr90HbO_t64/0/da"><img src="http://feedads.g.doubleclick.net/~a/f3vZPLRqcj2dMeoxUr90HbO_t64/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/f3vZPLRqcj2dMeoxUr90HbO_t64/1/da"><img src="http://feedads.g.doubleclick.net/~a/f3vZPLRqcj2dMeoxUr90HbO_t64/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cyprich.com/2010/07/26/how-to-redirect-web-pages-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
