<?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>Knowledge Sharing &#187; Web</title>
	<atom:link href="http://blog.danigunawan.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danigunawan.com</link>
	<description>"Say it... although a word..."</description>
	<lastBuildDate>Mon, 04 Jan 2010 10:17:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Release of Joomla 1.5.12</title>
		<link>http://blog.danigunawan.com/web/new-release-of-joomla-1-5-12/</link>
		<comments>http://blog.danigunawan.com/web/new-release-of-joomla-1-5-12/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 12:38:36 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=561</guid>
		<description><![CDATA[From the Joomla Security newsletter, I know that there&#8217;s a new version of Joomla. But, my email provider sent it to spam folder. I just don&#8217;t know why.. huff.. :(
From the official Joomla website:
The Joomla Project is pleased to announce the immediate availability of Joomla 1.5.12 [Wojmamni Ama Woi]. This release contains a number of [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/cms-joomla/joomla-1-5-13-security-release/' rel='bookmark' title='Permanent Link: Joomla 1.5.13 Security Release'>Joomla 1.5.13 Security Release</a></li>
<li><a href='http://blog.danigunawan.com/cms/joomla-in-the-future/' rel='bookmark' title='Permanent Link: Joomla in the Future'>Joomla in the Future</a></li>
<li><a href='http://blog.danigunawan.com/review/joomla-won-best-cms-award-again/' rel='bookmark' title='Permanent Link: Joomla! Won &quot;Best CMS Award&quot; (Again)'>Joomla! Won &quot;Best CMS Award&quot; (Again)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>From the <strong>Joomla Security </strong>newsletter, I know that there&#8217;s a new version of Joomla. But, my email provider sent it to spam folder. I just don&#8217;t know why.. huff.. :(</p>
<p>From the official <a title="Joomla!" href="http://www.joomla.org" target="_blank">Joomla</a> website:</p>
<blockquote><p>The Joomla Project is pleased to announce the immediate availability of Joomla 1.5.12 [Wojmamni Ama Woi]. This release contains a number of bug fixes and three moderate-level security fixes. It has been less than a month since <a href="http://www.joomla.org/announcements/release-news/5235-joomla-1511-security-release-now-available.html" target="_blank">Joomla 1.5.11</a> was released on June 3, 2009.</p>
<p>This release marks an important milestone for the Joomla Project due to the upgrade of the PEAR library to the new BSD licensed version, which brings the codebase into full compliance with the GPL. In addition, this release contains an important upgrade to TinyMCE v 3.2.4.1.</p>
<p>The Production Working Group&#8217;s goal is to continue to provide regular, frequent updates to the Joomla community.</p></blockquote>
<p><a href="http://joomlacode.org/gf/download/frsrelease/10547/41305/Joomla_1.5.12-Stable-Full_Package.zip">Download Joomla 1.5.12 (Full package)</a><br />
<a href="http://joomlacode.org/gf/download/frsrelease/10548/41314/Joomla_1.5.11_to_1.5.12-Stable-Patch_Package.zip">Download Joomla 1.5.11 &gt; 1.5.12 update package</a><br />
<a href="http://joomlacode.org/gf/project/joomla/frs/?action=FrsReleaseView&amp;release_id=10548" target="_blank">All 1.5.12 Packages</a></p>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/cms-joomla/joomla-1-5-13-security-release/' rel='bookmark' title='Permanent Link: Joomla 1.5.13 Security Release'>Joomla 1.5.13 Security Release</a></li>
<li><a href='http://blog.danigunawan.com/cms/joomla-in-the-future/' rel='bookmark' title='Permanent Link: Joomla in the Future'>Joomla in the Future</a></li>
<li><a href='http://blog.danigunawan.com/review/joomla-won-best-cms-award-again/' rel='bookmark' title='Permanent Link: Joomla! Won &quot;Best CMS Award&quot; (Again)'>Joomla! Won &quot;Best CMS Award&quot; (Again)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/new-release-of-joomla-1-5-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Addict, a Free WordPress Theme</title>
		<link>http://blog.danigunawan.com/web/facebook-addict-a-free-wordpress-theme/</link>
		<comments>http://blog.danigunawan.com/web/facebook-addict-a-free-wordpress-theme/#comments</comments>
		<pubDate>Tue, 05 May 2009 23:20:47 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[WP]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=529</guid>
		<description><![CDATA[Tobacamp has released a new WordPress theme, Facebook Addict. It is a facebook-clone, just like the previous theme. But, I think it&#8217;s more Facebook than before.
Screenshot:

It has many features such as:

Facebook-like
Widget ready
Three columns layout
Auto thumbnail
Custom headline
FREE OF CHARGE

You can see the demo first or download it.


Related posts:Facebook Lover, Free WordPress Theme from Tobacamp
WordPress 2.8 Review
WordPress.org [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/wordpress/facebook-lover-free-wordpress-theme-from-tobacamp/' rel='bookmark' title='Permanent Link: Facebook Lover, Free WordPress Theme from Tobacamp'>Facebook Lover, Free WordPress Theme from Tobacamp</a></li>
<li><a href='http://blog.danigunawan.com/review/wordpress-2-8-review/' rel='bookmark' title='Permanent Link: WordPress 2.8 Review'>WordPress 2.8 Review</a></li>
<li><a href='http://blog.danigunawan.com/wordpress/wordpress-org-releases-2-8-beta-1/' rel='bookmark' title='Permanent Link: WordPress.org Releases 2.8 Beta 1'>WordPress.org Releases 2.8 Beta 1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.danigunawan.com/review/tobacamp-studio/" target="_blank">Tobacamp</a> has released a new WordPress theme, <a href="http://www.tobacamp.com/templates/facebook-addict-wordpress-themes-is-available-for-free/" target="_blank">Facebook Addict</a>. It is a facebook-clone, just like <a href="http://blog.danigunawan.com/wordpress/facebook-lover-free-wordpress-theme-from-tobacamp/" target="_blank">the previous theme</a>. But, I think it&#8217;s more Facebook than before.</p>
<p><strong>Screenshot:</strong></p>
<p><img class="aligncenter" title="Facebook Addict, Free WordPress Theme" src="http://www.tobacamp.com/wp-content/uploads/2009/05/facebook-addict.jpg" alt="" width="420" height="461" /><br />
<span style="text-decoration: underline;">It has many features such as:</span></p>
<ul>
<li>Facebook-like</li>
<li>Widget ready</li>
<li>Three columns layout</li>
<li>Auto thumbnail</li>
<li>Custom headline</li>
<li><strong>FREE OF CHARGE</strong></li>
</ul>
<p>You can see the <a href="http://www.tobacamp.com/facebook-addict" target="_blank">demo</a> first or <a href="http://www.tobacamp.com/templates/facebook-addict-wordpress-themes-is-available-for-free/" target="_blank">download</a> it.</p>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/wordpress/facebook-lover-free-wordpress-theme-from-tobacamp/' rel='bookmark' title='Permanent Link: Facebook Lover, Free WordPress Theme from Tobacamp'>Facebook Lover, Free WordPress Theme from Tobacamp</a></li>
<li><a href='http://blog.danigunawan.com/review/wordpress-2-8-review/' rel='bookmark' title='Permanent Link: WordPress 2.8 Review'>WordPress 2.8 Review</a></li>
<li><a href='http://blog.danigunawan.com/wordpress/wordpress-org-releases-2-8-beta-1/' rel='bookmark' title='Permanent Link: WordPress.org Releases 2.8 Beta 1'>WordPress.org Releases 2.8 Beta 1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/facebook-addict-a-free-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Convert an Image to an Icon using Online Generator</title>
		<link>http://blog.danigunawan.com/web/convert-an-image-to-an-icon-using-online-generator/</link>
		<comments>http://blog.danigunawan.com/web/convert-an-image-to-an-icon-using-online-generator/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 05:16:14 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Icon]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=492</guid>
		<description><![CDATA[I need to make a favicon for my website. Usually, favicon has *.ico extension. Meanwhile, my graphic software can&#8217;t generate it. And yes, I was googling for the answer and it pointed me to Dynamic Drive. Dynamic Drive is a web that provide a lot of javascript &#38; css codes. They are available for free.
To [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/tips-and-trick/custom-flash-disk-icon/' rel='bookmark' title='Permanent Link: Custom Flashdisk Icon'>Custom Flashdisk Icon</a></li>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/' rel='bookmark' title='Permanent Link: How to Create Environment Variables in Windows'>How to Create Environment Variables in Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I need to make a favicon for my website. Usually, favicon has *.ico extension. Meanwhile, my graphic software can&#8217;t generate it. And yes, I was googling for the answer and it pointed me to <a style="background-color: pink;" rel="nofollow" href="http://tools.dynamicdrive.com/favicon/" target="_blank">Dynamic Drive</a>. Dynamic Drive is a web that provide a lot of javascript &amp; css codes. They are available for free.</p>
<p>To make an icon, from this tool is not difficult. You only need to upload your image. It must be in<strong> jpg</strong>, <strong>gif</strong>, <strong>bmp</strong> or <strong>png</strong> format. If you need to make it transparent, you should upload the image in <strong>gif</strong> or <strong>png</strong> format. The maximum file size is 150 KB.</p>
<div class="wp-caption aligncenter" style="width: 310px"><a href="http://danigunawan.com/wp-content/uploads/2009/02/create_icon.jpg"><img title="Upload Image" src="http://danigunawan.com/wp-content/uploads/2009/02/create_icon-300x89.jpg" alt="Upload Image" width="300" height="89" /></a><p class="wp-caption-text">Upload Image</p></div>
<p>After that, click on &#8220;Create Icon&#8221; button, then wait for a while. You can download the icon after &#8220;Download FavIcon&#8221; button appear.</p>
<div class="wp-caption aligncenter" style="width: 431px"><a href="http://danigunawan.com/wp-content/uploads/2009/02/download_favicon.jpg"><img title="Download Favicon" src="http://danigunawan.com/wp-content/uploads/2009/02/download_favicon.jpg" alt="Download Favicon" width="421" height="256" /></a><p class="wp-caption-text">Download Favicon</p></div>
<p>Happy Converting!</p>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/tips-and-trick/custom-flash-disk-icon/' rel='bookmark' title='Permanent Link: Custom Flashdisk Icon'>Custom Flashdisk Icon</a></li>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/' rel='bookmark' title='Permanent Link: How to Create Environment Variables in Windows'>How to Create Environment Variables in Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/convert-an-image-to-an-icon-using-online-generator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rename htaccess.txt to be .htaccess in Windows</title>
		<link>http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/</link>
		<comments>http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 02:00:26 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=308</guid>
		<description><![CDATA[In default Joomla 1.5 installation, there is a file named htaccess.txt. This file will be used if we use Joomla SEO, that is option Use Apache mod_rewrite. Before it can be used, this file should be renamed to .htaccess. In Linux OS, this case is not a big problem, because it allows creation this kind [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/web/joomla-15-seo/' rel='bookmark' title='Permanent Link: Joomla! 1.5 SEO'>Joomla! 1.5 SEO</a></li>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/' rel='bookmark' title='Permanent Link: How to Create Environment Variables in Windows'>How to Create Environment Variables in Windows</a></li>
<li><a href='http://blog.danigunawan.com/cms/joomla-database-crash/' rel='bookmark' title='Permanent Link: Joomla Database Crash'>Joomla Database Crash</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In default Joomla 1.5 installation, there is a file named <strong>htaccess.txt</strong>. This file will be used if we use Joomla SEO, that is option <strong>Use Apache mod_rewrite</strong>. Before it can be used, this file should be renamed to <strong>.htaccess</strong>. In Linux OS, this case is not a big problem, because it allows creation this kind of file (file name is started with &#8220;dot&#8221; character). For Windows user this case is a problem, because Windows doesn&#8217;t allow creation this kind of file. If we force it, then a warning is appear like shown below:</p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 354px"><a href="http://blog.danigunawan.com/wp-content/uploads/2008/11/htaccess.jpg"><img class="size-full wp-image-311" title="Error pada saat mengganti nama file htaccess.txt menjadi .htaccess" src="http://blog.danigunawan.com/wp-content/uploads/2008/11/htaccess.jpg" alt="    Error while renaming htaccess.txt to .htaccess" width="344" height="137" /></a><p class="wp-caption-text">Error while renaming htaccess.txt to .htaccess</p></div>
<p>In order to rename htaccess.txt to .htaccess, we could do it through command prompt. Syntax:</p>
<pre>ren [htaccess.txt directory]\htaccess.txt .htaccess</pre>
<p>Example:</p>
<pre>ren DaGu\htdocs\joomla15\htaccess.txt .htaccess</pre>
<p>That&#8217;s it!</p>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/web/joomla-15-seo/' rel='bookmark' title='Permanent Link: Joomla! 1.5 SEO'>Joomla! 1.5 SEO</a></li>
<li><a href='http://blog.danigunawan.com/operating-systems/how-to-create-environment-variables-in-windows/' rel='bookmark' title='Permanent Link: How to Create Environment Variables in Windows'>How to Create Environment Variables in Windows</a></li>
<li><a href='http://blog.danigunawan.com/cms/joomla-database-crash/' rel='bookmark' title='Permanent Link: Joomla Database Crash'>Joomla Database Crash</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Activate mod_rewrite in Apache</title>
		<link>http://blog.danigunawan.com/web/activate-mod_rewrite-in-apache/</link>
		<comments>http://blog.danigunawan.com/web/activate-mod_rewrite-in-apache/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 23:51:31 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=296</guid>
		<description><![CDATA[On the Internet, we often find URL which has many query strings, like show below:
http://blog.danigunawan.com/joomla15/index.php?option=com_content&#38;view=article&#38;id=19&#38;Itemid=27
URL with form above will be hard to be indexed by the search engine if we compare with the URL below:
http://blog.danigunawan.com/joomla15/joomla-overview
URL which has many query strings can be formatted like in second example using rewrite URL. To rewrite URL, it could [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/web/joomla-15-seo/' rel='bookmark' title='Permanent Link: Joomla! 1.5 SEO'>Joomla! 1.5 SEO</a></li>
<li><a href='http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/' rel='bookmark' title='Permanent Link: Rename htaccess.txt to be .htaccess in Windows'>Rename htaccess.txt to be .htaccess in Windows</a></li>
<li><a href='http://blog.danigunawan.com/programming/load-php-extension/' rel='bookmark' title='Permanent Link: Load PHP Extension'>Load PHP Extension</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>On the Internet, we often find URL which has many query strings, like show below:</p>
<pre><span>h</span>ttp://blog.danigunawan.com/joomla15/index.php?option=com_content&amp;view=article&amp;id=19&amp;Itemid=27</pre>
<p>URL with form above will be hard to be indexed by the search engine if we compare with the URL below:</p>
<pre><span>h</span>ttp://blog.danigunawan.com/joomla15/joomla-overview</pre>
<p>URL which has many query strings can be formatted like in second example using rewrite URL. To rewrite URL, it could be done using certain class in web programming language. I won&#8217;t discuss it here. Besides, it can be done using a module in apache web server named <strong>mod_rewrite</strong>. As default, mod_rewrite is not active.</p>
<p>Module mod_rewrite can be activated by editing apache configuration file. Apache configuration file is usually saved in httdp.conf file. Apache configuration file for XAMPP Windows version can be found in <strong>[XAMPP installation directory]/apache/conf</strong>. Open httpd.conf with text editor and find the word &#8220;mod_rewrite&#8221;. For XAMPP Windows version it usually can be found in line 118. As default, in inactive module, there is character &#8220;#&#8221; in the start of the line (It means that line will not be executed by apache). Example:</p>
<pre>#LoadModule rewrite_module modules/mod_rewrite.so</pre>
<p>To activate it, we need to remove character # only. After that, restart apache. Module mod_rewrite will active after apache run.</p>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/web/joomla-15-seo/' rel='bookmark' title='Permanent Link: Joomla! 1.5 SEO'>Joomla! 1.5 SEO</a></li>
<li><a href='http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/' rel='bookmark' title='Permanent Link: Rename htaccess.txt to be .htaccess in Windows'>Rename htaccess.txt to be .htaccess in Windows</a></li>
<li><a href='http://blog.danigunawan.com/programming/load-php-extension/' rel='bookmark' title='Permanent Link: Load PHP Extension'>Load PHP Extension</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/activate-mod_rewrite-in-apache/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Joomla! 1.5 SEO</title>
		<link>http://blog.danigunawan.com/web/joomla-15-seo/</link>
		<comments>http://blog.danigunawan.com/web/joomla-15-seo/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 14:57:04 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/?p=286</guid>
		<description><![CDATA[SEO stands for Search Engine Optimization. It is a great way to make our web &#8220;read&#8221; by the search engine. Many web owners hire SEO professional  to optimize their web. But for the Joomla 1.5 users, they should be happy because in this version, Joomla had improved better features for SEO.  There are three techniques [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/' rel='bookmark' title='Permanent Link: Rename htaccess.txt to be .htaccess in Windows'>Rename htaccess.txt to be .htaccess in Windows</a></li>
<li><a href='http://blog.danigunawan.com/web/activate-mod_rewrite-in-apache/' rel='bookmark' title='Permanent Link: Activate mod_rewrite in Apache'>Activate mod_rewrite in Apache</a></li>
<li><a href='http://blog.danigunawan.com/cms/viewing-joomla-15-module-position/' rel='bookmark' title='Permanent Link: Viewing Joomla 1.5 Module Position'>Viewing Joomla 1.5 Module Position</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>SEO</strong> stands for <a href="http://www.evisibility.com/Search-Engine-Optimization-Company.html">Search Engine Optimization</a>. It is a great way to make our web &#8220;read&#8221; by the search engine. Many web owners hire SEO professional  to optimize their web. But for the Joomla 1.5 users, they should be happy because in this version, Joomla had improved better features for SEO.  There are three techniques for SEO in Joomla, they are <strong>Search Engine Friendly (SEF) URLs</strong>, <strong>mod_rewrite (only for Apache)</strong>, and <strong>suffix</strong>. If you want to apply SEO, you should choose at least SEF option. If you wan to use mod_rewrite, SEF option must be choosen. It will much better if we use suffix too. With suffix, in the end of the URL will be added .html. Available combinations for SEO in Joomla are:</p>
<ul>
<li>SEF</li>
<li>SEF + suffix</li>
<li>SEF + mod_rewrite</li>
<li>SEF + mod_rewrite + suffix (recommended)</li>
</ul>
<p><span id="more-286"></span>The difference among combinations above are the URL produced. If we don&#8217;t use SEO, the URL will be:</p>
<div class="geshi no html">
<div class="head">http://blog.danigunawan.com/joomla15/index.php?option=com_content&amp;view=article&amp;id=19&amp;Itemid=27</pre>
</div>
<ol>
<li class="li1">
<div class="de1">For the SEF option, the URL will be:
</div>
</li>
<li class="li1">
<div class="de1">&lt;pre&gt;http://blog.danigunawan.com/joomla15/index.php/joomla-overview</div>
</li>
</ol>
</div>
<p>The URL can be read easily than the URL without SEF. Notice that there is "<strong>index.php</strong>" in the URL.  If we add suffix option, then in the end of the URL will be appended html extension like shown below:</p>
<pre><span style="font-family: 'Lucida Grande'; line-height: 19px; white-space: normal; ">h</span>ttp://blog.danigunawan.com/joomla15/index.php/joomla-overview.html</pre>
<p>Compare if we use Apache mod_rewrite, the result is shown below: <em></em></p>
<pre><span style="font-family: 'Lucida Grande'; line-height: 19px; white-space: normal;">h</span>ttp://blog.danigunawan.com/joomla15/joomla-overview</pre>
<p>If we use mod_rewrite, URL will look nice and tidy without "<strong>index.php</strong>". Html extension can be appended by choosing suffix option. The result is shown below:</p>
<pre>http://blog.danigunawan.com/joomla15/joomla-overview.html</pre>
<p><strong>SEO Implementation in Joomla! 1.5</strong><br />
SEO Implementation in Joomla 1.5 is very very easy.</p>
<ol>
<li>Login to Joomla back-end as super administrator.</li>
<li>Choose menu <strong>Site &gt; Global Configuration</strong>.</li>
<li>In Global Configuration there are three tabs that are <strong>Site</strong>, <strong>System </strong>dan <strong>Server</strong>. In tab Site, look at the SEO Settings. Choose the combination as you need.</li>
<li>Click Save or Apply.</li>
</ol>
<div>
<div id="attachment_290" class="wp-caption aligncenter" style="width: 426px"><a href="http://blog.danigunawan.com/wp-content/uploads/2008/11/seo_settings_joomla.jpg"><img class="size-full wp-image-290" title="Joomla! 1.5 SEO Settings" src="http://blog.danigunawan.com/wp-content/uploads/2008/11/seo_settings_joomla.jpg" alt="Joomla! 1.5 SEO Settings" width="416" height="125" /></a><p class="wp-caption-text">Joomla! 1.5 SEO Settings</p></div>
</div>
<div><strong>Remember!</strong></div>
<div>If you want to implement option number two (<strong>Use Apache mod_rewrite</strong>), the web server should be Apache with mod_rewrite module is active (Read article: <a href="http://blog.danigunawan.com/web/activate-mod_rewrite-in-apache/" target="_blank">Activate mod_rewrite in Apache</a>). After that rename htaccess.txt in the Joomla root directory to be .htaccess (Read article: <a href="http://blog.danigunawan.com/web/rename-htaccesstxt-to-htaccess-in-windows/" target="_blank">Rename htaccess.txt to be .htaccess in Windows</a>). If you get error message while implementing SEO option number two, try to edit .htaccess file, find this line:</div>
<pre>Options +FollowSymLinks</pre>
<div>Add "#" character. So the line will be:</div>
<pre>#Options +FollowSymLinks</pre>
<div>Restart your Apache web server.</div>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/web/rename-htaccesstxt-to-be-htaccess-in-windows/' rel='bookmark' title='Permanent Link: Rename htaccess.txt to be .htaccess in Windows'>Rename htaccess.txt to be .htaccess in Windows</a></li>
<li><a href='http://blog.danigunawan.com/web/activate-mod_rewrite-in-apache/' rel='bookmark' title='Permanent Link: Activate mod_rewrite in Apache'>Activate mod_rewrite in Apache</a></li>
<li><a href='http://blog.danigunawan.com/cms/viewing-joomla-15-module-position/' rel='bookmark' title='Permanent Link: Viewing Joomla 1.5 Module Position'>Viewing Joomla 1.5 Module Position</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/joomla-15-seo/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Avoid Direct Download</title>
		<link>http://blog.danigunawan.com/web/avoid-direct-download/</link>
		<comments>http://blog.danigunawan.com/web/avoid-direct-download/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 02:29:00 +0000</pubDate>
		<dc:creator>Dagu</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Download]]></category>

		<guid isPermaLink="false">http://blog.danigunawan.com/2007/12/19/mencegah-direct-download/</guid>
		<description><![CDATA[Case study:
We would like to provide pdf files to be downloaded by visitors, but the file location is hidden. Visitors can download file with URL given only. Programming language used is PHP.
Analysis:
We could make a link directly to the file location. Example:
&#60;a href="myebook.pdf"&#62;Download MyEbook&#60;/a&#62;
What happen if the link above clicked? It depends to the visitors&#8217; [...]


Related posts:<ol><li><a href='http://blog.danigunawan.com/operating-systems/how-to-install-java-in-linux-ubuntu/' rel='bookmark' title='Permanent Link: How To Install Java in Linux Ubuntu'>How To Install Java in Linux Ubuntu</a></li>
<li><a href='http://blog.danigunawan.com/database/creating-database-in-mysql/' rel='bookmark' title='Permanent Link: Creating Database in MySQL'>Creating Database in MySQL</a></li>
<li><a href='http://blog.danigunawan.com/programming/load-php-extension/' rel='bookmark' title='Permanent Link: Load PHP Extension'>Load PHP Extension</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: bold;">Case study:</span><br />
We would like to provide pdf files to be downloaded by visitors, but the file location is hidden. Visitors can download file with URL given only. Programming language used is PHP.</p>
<p><span style="font-weight: bold;">Analysis:</span><br />
We could make a link directly to the file location. Example:</p>
<pre><span style="font-family: courier new;">&lt;a href="myebook.pdf"&gt;Download MyEbook&lt;/a&gt;</span></pre>
<p>What happen if the link above clicked? It depends to the visitors&#8217; browser. If the plugin to read pdf is installed, then browser will open that file inside browser. But, how if there&#8217;s no pdf reader plugin? Then a save file dialog box appear. We could save that file.</p>
<p>A problem is done if the visitors don&#8217;t have pdf reader plugin. But what about the visitors who have it? Of course the problem is not solved. Another problem is the visitors know the file location,  so it allows the visitors to download the file directly (download it directly by typing/copy paste the URL in the browser, without clicking from link given).</p>
<p><span id="more-92"></span></p>
<p><span style="font-weight: bold;">Solution:</span><br />
We need a bit code (PHP) to solve this problem.</p>
<p>The code to avoid direct download is shown below:</p>
<div class="geshi no php">
<div class="head">$task = $_REQUEST[&#39;task&#39;];</div>
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">switch</span><span class="br0">&#40;</span><span class="re1">$task</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw1">case</span> <span class="st0">&#39;download&#39;</span><span class="sy0">:</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="co1">// file location</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="re1">$file_path</span> <span class="sy0">=</span> <span class="st0">&#39;dl/myebook.pdf&#39;</span><span class="sy0">;</span> </div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"> <span class="co1">// function to get file name without path</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="re1">$file_name</span> <span class="sy0">=</span> <span class="kw3">basename</span><span class="br0">&#40;</span><span class="re1">$file_path</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"> <span class="co1">// get file size</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="re1">$fsize</span> <span class="sy0">=</span> <span class="kw3">filesize</span><span class="br0">&#40;</span><span class="re1">$file_path</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"> <span class="co1">// set headers</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Pragma: public&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Expires: 0&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Cache-Control: must-revalidate, post-check=0, pre-check=0&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Cache-Control: public&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Content-Description: File Transfer&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Content-Type: application/pdf&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&#39;Content-Disposition: attachment; filename=&quot;&#39;</span> <span class="sy0">.</span> <span class="re1">$file_name</span> <span class="sy0">.</span> <span class="st0">&#39;&quot;&#39;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Content-Transfer-Encoding: binary&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw3">header</span><span class="br0">&#40;</span><span class="st0">&quot;Content-Length: &quot;</span> <span class="sy0">.</span> <span class="re1">$fsize</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"> <span class="co1">// start downloading from here</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="re1">$file</span> <span class="sy0">=</span> <span class="sy0">@</span><span class="kw3">fopen</span><span class="br0">&#40;</span><span class="re1">$file_path</span><span class="sy0">,</span><span class="st0">&quot;rb&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re1">$file</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> </div>
</li>
<li class="li1">
<div class="de1">   <span class="kw1">while</span><span class="br0">&#40;</span><span class="sy0">!</span><span class="kw3">feof</span><span class="br0">&#40;</span><span class="re1">$file</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> </div>
</li>
<li class="li1">
<div class="de1">   <span class="kw3">print</span><span class="br0">&#40;</span><span class="kw3">fread</span><span class="br0">&#40;</span><span class="re1">$file</span><span class="sy0">,</span> <span class="nu0">1024</span><span class="sy0">*</span><span class="nu0">8</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span> </div>
</li>
<li class="li1">
<div class="de1">   <span class="kw3">flush</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">     <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw3">connection_status</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">!=</span><span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">         <span class="sy0">@</span><span class="kw3">fclose</span><span class="br0">&#40;</span><span class="re1">$file</span><span class="br0">&#41;</span><span class="sy0">;</span> </div>
</li>
<li class="li1">
<div class="de1">         <span class="kw3">die</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">     <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">   <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">   <span class="sy0">@</span><span class="kw3">fclose</span><span class="br0">&#40;</span><span class="re1">$file</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"> <span class="kw1">break</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"> <span class="kw2">default</span><span class="sy0">:</span></div>
</li>
<li class="li1">
<div class="de1">   <span class="kw3">echo</span> <span class="st0">&#39;&lt;a href=&quot;dlfile.php?task=download&quot;&gt;Download MyEbook&lt;/a&gt;&#39;</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1">   <span class="kw1">break</span><span class="sy0">;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>You need to concern to this line:</p>
<pre><span style="font-family: courier new;">header('Content-Disposition: attachment; filename="myebook.pdf"');</span></pre>
<p>This line forces browser to show save dialog box for &#8220;myebook.pdf&#8221; although there&#8217;s pdf reader plugin in the browser.</p>
<p>To change file type (exe or zip), we need to change Content-Type only. Here are the lists:</p>
<pre><span style="font-family: courier new;">// archives</span>
<span style="font-family: courier new;">application/zip</span></pre>
<pre><span style="font-family: courier new;">// documents</span>
<span style="font-family: courier new;">application/pdf</span>
<span style="font-family: courier new;">application/msword</span>
<span style="font-family: courier new;">application/vnd.ms-excel</span>
<span style="font-family: courier new;">application/vnd.ms-powerpoint</span>
<span style="font-family: courier new;">// executables</span>
<span style="font-family: courier new;">application/octet-stream</span></pre>
<pre><span style="font-family: courier new;">// images</span>
<span style="font-family: courier new;">image/gif</span>
<span style="font-family: courier new;">image/png</span>
<span style="font-family: courier new;">image/jpeg</span><span style="font-family: courier new;">
</span></pre>
<pre><span style="font-family: courier new;">// audio</span>
<span style="font-family: courier new;">audio/mpeg</span>
<span style="font-family: courier new;">audio/x-wav</span></pre>
<pre><span style="font-family: courier new;">// video</span>
<span style="font-family: courier new;">video/mpeg</span>
<span style="font-family: courier new;">video/quicktime</span>
<span style="font-family: courier new;">video/x-msvideo</span></pre>
<p>File starts downloading from the line after this line:</p>
<pre><span style="font-family: courier new;">// start downloading from here</span></pre>
<p>There&#8217;s a question. Why do we need to avoid direct download? The purpose is to check how many times a file has been downloaded. If the visitors are allowed to download files directly, I&#8217;m sure it will be difficult to know how many times a file is downloaded. If you don&#8217;t need to check how many times the visitors download your files, you could use both direct download or indirect download.</p>


<p>Related posts:<ol><li><a href='http://blog.danigunawan.com/operating-systems/how-to-install-java-in-linux-ubuntu/' rel='bookmark' title='Permanent Link: How To Install Java in Linux Ubuntu'>How To Install Java in Linux Ubuntu</a></li>
<li><a href='http://blog.danigunawan.com/database/creating-database-in-mysql/' rel='bookmark' title='Permanent Link: Creating Database in MySQL'>Creating Database in MySQL</a></li>
<li><a href='http://blog.danigunawan.com/programming/load-php-extension/' rel='bookmark' title='Permanent Link: Load PHP Extension'>Load PHP Extension</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.danigunawan.com/web/avoid-direct-download/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
