<?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"
	>

<channel>
	<title>Reaper-X .:[ ID ]:. &#187; Apache</title>
	<atom:link href="http://www.reaper-x.com/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reaper-x.com</link>
	<description>Computers, Games, Technology ... Whatever</description>
	<pubDate>Tue, 21 Oct 2008 09:37:37 +0000</pubDate>
	
	<language>en</language>
			<item>
		<title>Using Temporary Maintenance Page when Upgrading Wordpress</title>
		<link>http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/</link>
		<comments>http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 11:45:29 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[redirect]]></category>

		<category><![CDATA[Search Engine]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/" title="Using Temporary Maintenance Page when Upgrading Wordpress"><strong>Using Temporary Maintenance Page when Upgrading Wordpress</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>This is the very first time i need to use a temporary server maintenance page, previously when i upgrade wordpress (even to major release such as this one) &#8230; there&#8217;s no need for me to redirect this si...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/" title="Using Temporary Maintenance Page when Upgrading Wordpress"><strong>Using Temporary Maintenance Page when Upgrading Wordpress</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>This is the very first time i&nbsp;need to use&nbsp;a temporary server maintenance page, previously when i upgrade wordpress (even to major release such as this one) &hellip; there&rsquo;s no need for me to redirect this site visitors to a temporary page saying that this server is under maintenance, but this time the situation is different</p>
<p>And that&rsquo;s because i do not want my visitors to see&nbsp;lots of&nbsp;beautiful MySQL error message when viewing every&nbsp;page of this site (i&rsquo;m&nbsp;quite sure you feel the same way too) because of the recent database schema changes in <a href="http://wordpress.org/development/2007/09/wordpress-23/">Wordpress 2.3</a>, but &hellip; how to do that ? if you ask me &hellip;</p>
<p><span id="more-637"></span></p>
<p>The answer is simple, as long as you have access to edit your .htaccess file (some web hosting company doesn&rsquo;t allow you to edit the .htaccess file, and that&rsquo;s why i said so) :)</p>
<p><strong>And here are&nbsp;the complete instruction :</strong></p>
<p><strong>1.</strong> Create a new html page saying that this site under maintenance or anything you like :) , and save it as maintenance.html (this is just an example, feel free to use another filename)</p>
<p><strong>2.</strong>&nbsp;Edit your .htaccess file in your root public_html directory</p>
<p>and add these lines :</p>
<p><code>RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.0<br />RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]<br />RewriteRule .* /maintenance.html [R,L]</code></p>
<p><em>Note : Replace 123\.456\.789\.0 with your own ip address</em></p>
<p>And here are the description about what the above line does :</p>
<ol>
<li>The first RewriteCond is used so that you can still access your site, by detecting your ip address</li>
<li>The second RewriteCond is used so that every request to maintenance.html file will not be redirected, this is used to prevent infinite redirect loop</li>
<li>The&nbsp;third RewriteCond is used so that others that is trying to access your site in any page&nbsp;will be redirected automatically to your maintenance.html page using temporary redirect so that search engine robot will check again later</li>
</ol>
<p>3. Now you just need to upload the above file into your public_html directory and continue the upgrade process</p>
<p><strong>But&nbsp;what if you&rsquo;ve&nbsp;finished upgrading your wordpress, and you want your visitors will able to view your site again&nbsp;?</strong></p>
<p>Simple &hellip; you just need to remove the above .htaccess rules, and to make sure that your site visitors will be automatically redirected to your main page, you can add below line to your .htaccess file</p>
<p><em>Redirect 301 /maintenance.html http://www.yourdomain.com</em></p>
<p>And you&rsquo;re done :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/" title="Using Temporary Maintenance Page when Upgrading Wordpress">Permalink</a> | <a href="http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/#comments" title="2 comments">2 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/wordpress/" title="View all posts in Wordpress" rel="category tag">Wordpress</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/09/25/using-temporary-maintenance-page-when-upgrading-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing and Setting up Apache 2.2 series with PHP 5 on Windows</title>
		<link>http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/</link>
		<comments>http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 15:57:07 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[apache 2.2]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[httpd]]></category>

		<category><![CDATA[mangos]]></category>

		<category><![CDATA[mediafire]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php 5]]></category>

		<category><![CDATA[php5]]></category>

		<category><![CDATA[private server]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[webserver]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/" title="Installing and Setting up Apache 2.2 series with PHP 5 on Windows"><strong>Installing and Setting up Apache 2.2 series with PHP 5 on Windows</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Previously i wrote a how to guide on installing Apache HTTPD 1.3 on Windows machine. But it seems that some people prefer to use the new Apache 2.2 series instead of the old httpd 1.3 series which is...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/" title="Installing and Setting up Apache 2.2 series with PHP 5 on Windows"><strong>Installing and Setting up Apache 2.2 series with PHP 5 on Windows</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>Previously i wrote a how to guide on installing <a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/">Apache HTTPD 1.3 on Windows</a> machine. But it seems that some people prefer to use the new Apache 2.2 series instead of the old httpd 1.3 series which is not good when used&nbsp;on production system (read: if you allow anyone to access your webserver), beside the apache website itself tell you this :</p>
<p><em>the older 1.3 series was never designed to run on Windows, but that support was &lsquo;hacked in&rsquo;, introducing a large number of potential thread saftey issues and other confirmed problems.</em></p>
<p>And that&rsquo;s why i choose to create the apache guide again but this time it is using the 2.2 series, and of course this guide tell you on how to setup your apache server with php 5 manually not using an all in one package. And here&rsquo;s the guide :</p>
<p><span id="more-632"></span></p>
<p><strong>Requirements :</strong></p>
<p>1. <a href="http://archive.apache.org/dist/httpd/binaries/win32/">Apache 2.2.x</a> : At the time i wrote this guide, the latest stable version is 2.2.26 (btw get the non-ssl version unless you plan on using ssl)</p>
<p>2. <a href="http://www.php.net/">PHP 5.2.x</a> : 5.2.4 is the latest stable version when i wrote this (get the zip version, not the installer)</p>
<p><strong>And here are the steps :</strong></p>
<p><em>Note : in this example i&rsquo;m using the default installation path for Apache 2.2</em></p>
<p><strong>1.</strong> Install Apache 2.2 until below screen appears and use this information (or adjust it to your liking) and then continue the process until finished :)</p>
<p><img alt="Apache Installation Process" src="http://www.reaper-x.com/images/blogs/installation.jpg" border="0"  /></p>
<p><strong>2.</strong> To make sure Apache is working now you need to open your browser window and type <strong>http://localhost</strong> as the address, and if you get the same message like below image that mean apache is working</p>
<p><img alt="Apache Default Page" src="http://www.reaper-x.com/images/blogs/apache-20default-20page.jpg" border="0"  /></p>
<p><strong>3.</strong> Thanks God the Apache seems to work &hellip; but now you&rsquo;ll need to configure apache so it&rsquo;ll recognize the php files and can parse the php files correctly. And the first thing you should do is extracting the PHP zip archive somewhere, and in this example i extracted the php 5.2.4 files into <strong>C:\PHP-5</strong></p>
<p><strong>4.</strong> After finished with the extraction process, now you just need to go to your Apache installation path, and then <strong>open httpd.conf</strong> which is located under the <strong>conf directory</strong> using your favorite text editor. Btw if you installed apache using the default path, here&rsquo;s what the apache directory structure looks like</p>
<p><img alt="Apache 2.2 Path" src="http://www.reaper-x.com/images/blogs/apache-202.2-20path.jpg" border="0"  /></p>
<p><strong>5.</strong> In order for apache to parse the php files correctly, first you need to Load the PHP5 module into the Apache, and to do this you just need to add below line to your <strong>Apache httpd.conf</strong> (after the last line of the loadmodule section) :</p>
<p><strong>LoadModule php5_module "c:/php-5/php5apache2_2.dll"</strong></p>
<p><em>Note : Adjust the php path accordingly if you extracted it into other directory</em></p>
<p>And here&rsquo;s the image :</p>
<p><img alt="Php loadmodule apache 2.2" src="http://www.reaper-x.com/images/blogs/php-20loadmodule-20apache-202.2.jpg" border="0"  /></p>
<p><strong>5.1</strong> Now you need to search for (use&nbsp;your text editor built-in search function)&nbsp;:</p>
<p><strong>&lt;IfModule mime_module&gt;</strong></p>
<p>and then add these lines inside that directive (before the closing <strong>&lt;/IfModule&gt; for mime_module</strong> )</p>
<p><strong>AddType application/x-httpd-php .php<br />AddType application/x-httpd-php-source .phps</strong></p>
<p><strong>6.</strong> After finished with the above process, now you&rsquo;ll need to configure apache so it&rsquo;ll check the existence of index.php by default too instead of just checking the index.html only for the default index filename, and here&rsquo;s how to do it</p>
<p><em>The default configuration from Apache 2.2 :</em></p>
<p><strong>&lt;IfModule dir_module&gt;<br />DirectoryIndex index.html<br />&lt;/IfModule&gt;</strong></p>
<p><em>The modified version :</em></p>
<p><strong>&lt;IfModule dir_module&gt;<br />DirectoryIndex index.html index.php<br />&lt;/IfModule&gt;</strong></p>
<p>Notice the difference ? i&rsquo;m pretty sure you&rsquo;ll notice it right away &hellip; but like everyone knew that a&nbsp;picture worth a thousand words (read: because&nbsp;my English language is bad), so here goes the picture</p>
<p><img alt="Apache directory index" src="http://www.reaper-x.com/images/blogs/apache-20directory-20index1.jpg" border="0"  /></p>
<p><strong>7.</strong> Now we are done with the httpd section, now we need to configure php. Here are how to do that :</p>
<p><strong>7.1 Copy php.ini-recommended</strong> from your php5 directory into <strong>C:\Windows (or your windows path)</strong>&nbsp;and then rename it into <strong>php.ini</strong></p>
<p><strong>7.2</strong> Open the php.ini file using notepad and change the extension_dir&nbsp;as shown on below image :</p>
<p><img alt="Php extension dir" src="http://www.reaper-x.com/images/blogs/php-20extension-20dir.jpg" border="0"  /></p>
<p><strong>7.3</strong> Now you need to copy some dlls from your php 5 directory into <strong>C:\Windows\System32</strong> :</p>
<p><img alt="Php dlls" src="http://www.reaper-x.com/images/blogs/php-20dlls.jpg" border="0"  /></p>
<p>Im pretty sure that you can&rsquo;t read the filename from the above image,&nbsp;but&nbsp;don&rsquo;t worry because all you have to do is just&nbsp;:</p>
<p><em>Right click&nbsp;and choose <strong>Arrange Icons by&nbsp;name</strong>, and then copy each file shown on the above image into your windows system32 directory, and you&rsquo;re done (hint: hold CTRL key to select multiple files)</em></p>
<p><em>Or &hellip; copy all dll files at the root of your php directory into your system32 directory except&nbsp;those that is using php5*.dll</em></p>
<p><strong>8.</strong> Now we&rsquo;ve configured php, apache &hellip; but what else do we need ? of course we need to make sure that php really working and apache can parse it without problem, so we need to create a php test page first, here&rsquo;s how to do it :</p>
<p><strong>8.1</strong> Create a file named <strong>test.php</strong> inside <strong>C:\Program Files\Apache Software Foundation\Apache2.2\htdocs</strong> (because that&rsquo;s where the default document root path of your apache)</p>
<p><strong>8.2</strong> Add below line to the <strong>test.php</strong> file like shown on below image, then save and close the notepad</p>
<p><img alt="Create php test file" src="http://www.reaper-x.com/images/blogs/create-20php-20test-20file.jpg" border="0"  /></p>
<p><strong>9.</strong> Okay &hellip; finally we&rsquo;ve reached the final stage !!! now you just need to open command prompt and type like below image :</p>
<p><img alt="Apache 2.2 restart" src="http://www.reaper-x.com/images/blogs/apache-202.2-20restart.jpg" border="0"  /></p>
<p>If you can&rsquo;t read what you should type from the above image, actually you just need to type :</p>
<p><strong>net stop apache2.2 &amp;&amp; net start apache2.2</strong></p>
<p>to restart your apache 2.2 process</p>
<p><strong>10.</strong> Now after finished restarting the apache process, we need to open the browser window and point to <strong>http://localhost/test.php</strong></p>
<p><img alt="Php test page" src="http://www.reaper-x.com/images/blogs/php-20test-20page.jpg" border="0"  /></p>
<p>If you see something shown&nbsp;like on the above image, that means Apache and PHP is working on your system</p>
<p>Congrats &hellip; now you&rsquo;ve got apache and php 5 working on your system the only thing left is &hellip; adding mysql support (if you plan on using a registration page for your Mangos Server or other private server), and to do this you just need to remove the <strong>;</strong> from the extensions, for more information, you can download the <a href="http://www.mediafire.com/?a5y2xm4g9xo" rel="nofollow">sample php.ini and httpd.conf as a supplement for this short how to guide</a></p>
<p><em>Hint : Compare the sample php.ini file you&rsquo;ve downloaded&nbsp;with the default php.ini file from the php.ini files included in PHP archive (in this case you can find it on your windows directory)</em></p>
<p>Hopefully i didn&rsquo;t miss anything, but if you do notice that i miss something, please let me know so i can fix it or add it&nbsp;:)</p>
<p><em>Thanks to&nbsp;</em><a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/#comment-22219"><em>Al</em></a><em> for the suggestion :)</em></p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/" title="Installing and Setting up Apache 2.2 series with PHP 5 on Windows">Permalink</a> | <a href="http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/#comments" title="229 comments">229 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/php/" title="View all posts in PHP" rel="category tag">PHP</a>,  <a href="http://www.reaper-x.com/category/how-to/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a>,  <a href="http://www.reaper-x.com/category/windows/" title="View all posts in Windows" rel="category tag">Windows</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/09/24/installing-and-setting-up-apache-22-series-with-php-5-on-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hiding Affiliate Links using htaccess</title>
		<link>http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/</link>
		<comments>http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 12:43:58 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Webmaster Tools]]></category>

		<category><![CDATA[affiliate]]></category>

		<category><![CDATA[amazon]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[redirect]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[webserver]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/" title="Hiding Affiliate Links using htaccess"><strong>Hiding Affiliate Links using htaccess</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>This time i&#8217;m going to tell you on how to hide your affiliate links or any other links you want to hide (see the right sidebar of this site) using a simple htaccess redirect trick, just in case you di...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/" title="Hiding Affiliate Links using htaccess"><strong>Hiding Affiliate Links using htaccess</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>Today i&rsquo;m going to tell you on how to hide your affiliate links or any other links you want to hide (see the right sidebar of this site) using a simple htaccess redirect trick, just in case you didn&rsquo;t know about it, and of course i&rsquo;ve only tested this on Apache HTTP Server only (Windows and Linux version) so if you&rsquo;re using any other webserver to serve your webpages &hellip; i&rsquo;m quite sure that this trick is not going to work, and you&rsquo;ll have to use some redirect script to do it</p>
<p>But as a side note, this redirect trick (or any other redirect trick using php, etc)&nbsp;may or may not working especially if your site mostly visited by tech savvy users even if the affiliate website itself didn&rsquo;t show your referal link, because they can always see it through the HTTP header</p>
<p><span id="more-602"></span></p>
<p><strong>Redirecting from the root of your domain name</strong></p>
<p><em>Step to do it :</em></p>
<p>Open or create new <em>.htaccess</em> file on the root of your www / public_html directory and add this line :</p>
<p><code>Redirect /myaffiliate http://www.myaffiliatewebsite.com</code></p>
<p>the above line mean, if you type http://www.yourdomainname.com/myaffiliate it&rsquo;ll be redirected automatically to www.myaffiliatewebsite.com using 302 Found HTTP Header</p>
<p>But what if you want a 301 Moved Permanently HTTP Header instead of 302 HTTP Header (almost every redirect trick i&rsquo;ve seen so far is using 302) ? &hellip; if that&rsquo;s what you want &hellip; then you can use this</p>
<p><code>Redirect 301 /myaffiliate http://www.myaffiliatewebsite.com</code></p>
<p><strong>Redirecting from subdirectory</strong></p>
<p>Step to do it</p>
<ol>
<li>Create new directory (for example : redir)</li>
<li>Create new .htaccess inside and add these into your newly created htaccess file</li>
</ol>
<p><code>Redirect /redir/affiliate http://www.affiliatewebsite.com</code></p>
<p>The above line mean, if you type http://www.yourdomainname.com/redir/affiliate it&rsquo;ll be redirected automatically to your affiliate link</p>
<p><strong>Redirect to multiple product in the same affiliate website with a single line (useful on site like Amazon)</strong></p>
<p>Let&rsquo;s say you&rsquo;ve become an Amazon Affiliate, and you want to link to that product page without adding new line into your htaccess file &hellip; then you can&nbsp;add this line into your .htaccess file</p>
<p><code>RewriteRule ^show/(.*)$ http://www.amazon.com/exec/obidos/ASIN/$1/YourAmazonID [L]</code></p>
<p>What the above line do is, whenever you type http://www.yourdomainname.com/show/<strong>ANY-AMAZON-PRODUCTID</strong> it&rsquo;ll be redirected automatically to http://www.amazon.com/exec/obidos/ASIN/<strong>ANY-AMAZON-PRODUCTID</strong>/<strong>YOUR-AFFILIATE-ID</strong></p>
<p>Another example on how to make your Amazon Link look pretty is you can also use this :</p>
<p><code><br />
RewriteCond %{QUERY_STRING} id=([^&#038;]*)$<br />
RewriteRule ^products\.asp$ http://www.amazon.com/exec/obidos/ASIN/%1/YOURAMAZONID? [L]<br />
</code></p>
<p>Basically what the above code do is, everytime you type mydomain.com/products.asp?id=AMAZON-PRODUCT-ID even without the existence of products.asp file on your webserver, it&rsquo;ll be redirected automatically to the Amazon link using your Referal ID :)</p>
<p>As a note, <strong>Mod Rewrite must be enabled</strong> on your server to do the last redirection trick</p>
<p>That&rsquo;s it &hellip; i hope this small tips can be useful for you :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/" title="Hiding Affiliate Links using htaccess">Permalink</a> | <a href="http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/#comments" title="10 comments">10 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/webmaster-tools/" title="View all posts in Webmaster Tools" rel="category tag">Webmaster Tools</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/09/08/hiding-affiliate-links-using-htaccess/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hardening Wordpress with Mod Rewrite and htaccess</title>
		<link>http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/</link>
		<comments>http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/#comments</comments>
		<pubDate>Sat, 01 Sep 2007 11:17:01 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[feed]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[redirect]]></category>

		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/" title="Hardening Wordpress with Mod Rewrite and htaccess"><strong>Hardening Wordpress with Mod Rewrite and htaccess</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>It&#8217;s been a while since the last time i wrote tips or whatever you called it :P &#8230; so i decided to write some tips on how to hardening your wordpress installation. As as you already guessed, this tips...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/" title="Hardening Wordpress with Mod Rewrite and htaccess"><strong>Hardening Wordpress with Mod Rewrite and htaccess</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>It&rsquo;s been a while since the last time i wrote&nbsp;tips&nbsp;or whatever you called it :P &hellip; so i decided to write some tips on how to&nbsp;hardening&nbsp;your wordpress installation. As as you already guessed, this tips might be useful if you&rsquo;re using Wordpress as your platform (blog, etc)</p>
<p>But first as a reminder, this is not a perfect way to secure your wordpress installation (because of various reasons / factors), but at least it&rsquo;s going to harden your wordpress installation</p>
<p>And as a note, this is tested only on Apache Web server, and you&rsquo;re allowed to override the configurations using <em>.htaccess</em> file and lastly &hellip; you need to have mod rewrite installed and activated (don&rsquo;t worry if you can use Custom Permalinks that mean you&rsquo;ve mod rewrite enabled on your hosting / server)</p>
<p><span id="more-600"></span></p>
<p>Okay without further ado &hellip; here are the tips :</p>
<p><strong>1. Disable Directory Indexing</strong></p>
<p>By disabling directory indexing, you can prevent people seeing through your directory structure</p>
<p><em>Step to Disable it :</em></p>
<p>Create or edit .htaccess file on your public_html directory and add this into your htaccess :</p>
<p><code>Options -Indexes</code></p>
<p><strong>2. Removing Wordpress version number</strong></p>
<p>Some&nbsp;people think that hiding your wordpress version number is not necessary, so feel free if you want to implement it or not</p>
<p><em>Step to Remove it :</em></p>
<p>Remove this line from the header.php file of your currently used theme :</p>
<p><code>&lt;meta name="generator" content="WordPress &lt;?php bloginfo('version'); ?&gt;" /&gt;</code></p>
<p>also if you&rsquo;re&nbsp;feeling a little bit&nbsp;adventurous, you can also remove the generator line from <em>wp-includes/feed-*.php</em>. Because by default wordpress&nbsp;is going to show your wordpress version number from your blog feed</p>
<p><strong>3. Protecting WP-Admin Directory</strong></p>
<p>In this example i&rsquo;m going to tell you how to protect your wp-admin directory by checking your IP Address (it can be used even on dynamic ip address)</p>
<p><em>Step to Protect it :</em></p>
<p><strong>3.1 If you&rsquo;re using Static IP Address</strong></p>
<p>Create new <em>.htaccess</em> file inside your <em>wp-admin</em> directory and add these lines into the newly created&nbsp;<em>.htaccess</em> file</p>
<p><code><br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.0<br />
RewriteRule .* http://www.domain.com/ [R,L]<br />
&lt;/IfModule&gt;<br />
</code></p>
<p><strong>3.2 If you&rsquo;re using Dynamic IP Address</strong></p>
<p><em>&lt;IfModule mod_rewrite.c&gt;<br />RewriteEngine On<br />RewriteCond %{REMOTE_ADDR} !^123\.456\.<br />RewriteRule .* </em><em>http://www.domain.com/</em><em> [R,L]<br />&lt;/IfModule&gt;</em></p>
<p>What the above configuration does, is checking your IP Address first to see if you&rsquo;re allowed to any file inside the wp-admin directory or not and if you&rsquo;re not allowed to view it, you&rsquo;ll be redirected automatically to specified address (you can use any address) by using 302 Found Header (Temporarily Moved)</p>
<p>As a side note, if you want the easiest way to password protect your wp-admin directory you can use <a href="http://www.askapache.com/wordpress/htaccess-password-protect.html">this plugin by askapache</a> or if you prefer to do it using the manual way &hellip; you can <a href="http://blogsecurity.net/wordpress/article-210607/">check blogsecurity website</a><a href="http://blogsecurity.net/wordpress/article-210607/"></a></p>
<p><strong>4. Protecting wp-login.php and wp-register.php or any file you choose</strong></p>
<p>Now you&rsquo;ve protected your admin directory &hellip; but there&rsquo;s one more step to do, especially if you&rsquo;re the only person&nbsp;on your blog and also disabling user registration.</p>
<p>So&nbsp;this time we&rsquo;re going to protect wp-login.php and wp-register.php, and here are the step to protect it :</p>
<p><em>Step to do it :</em></p>
<p>&ndash; Open the <em>.htaccess</em> file on the root of your public_html directory and choose which method that you like</p>
<p><strong>4.1 Deny Access to wp-login.php by showing forbidden message</strong></p>
<p><code><br />
&lt;Files wp-login.php&gt;<br />
Order deny,allow<br />
Deny from All<br />
Allow from 123.456.789.0<br />
&lt;/Files&gt;<br />
</code></p>
<p><strong>4.2 Deny Access to wp-login.php by redirecting it to the specified address :</strong></p>
<p><code><br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteCond %{REQUEST_URI} wp-login.php<br />
RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.0<br />
RewriteRule .* http://www.domain.com/ [R,L]<br />
&lt;/IfModule&gt;<br />
</code></p>
<p>As a note, you can also use Dynamic IP Address just like on Protecting WP-Admin Directory Method</p>
<p>That&rsquo;s it &hellip; you&rsquo;re done &hellip; hope this small wordpress tips can be useful for you</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/" title="Hardening Wordpress with Mod Rewrite and htaccess">Permalink</a> | <a href="http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/#comments" title="9 comments">9 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/wordpress/" title="View all posts in Wordpress" rel="category tag">Wordpress</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/09/01/hardening-wordpress-with-mod-rewrite-and-htaccess/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP-FastCGI, Suexec, and XCache Installed</title>
		<link>http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/</link>
		<comments>http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/#comments</comments>
		<pubDate>Sat, 18 Aug 2007 02:27:17 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[psu]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[xcache]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/" title="PHP-FastCGI, Suexec, and XCache Installed"><strong>PHP-FastCGI, Suexec, and XCache Installed</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>After 1 week thinking about on should i install PHP-FastCGI with Suexec combined with XCache (PHP OP-Code Cache) because my current host aren&#8217;t going to support it (although they say, they can help me...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/" title="PHP-FastCGI, Suexec, and XCache Installed"><strong>PHP-FastCGI, Suexec, and XCache Installed</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>After 1 week thinking about on should i install PHP-FastCGI with Suexec combined with XCache (PHP OP-Code Cache)&nbsp;because my current host aren&rsquo;t going to support it (although they say, they can help me installing it) if i&rsquo;m going this way, i&rsquo;ve decided to use them all together eventhough i have to do it all by myself (as learning purpose of course) &hellip; and after 6 hours (or more) playing around with it &hellip; i managed to&nbsp;set them&nbsp;all nicely</p>
<p><span id="more-592"></span></p>
<p>Btw if you ask me, why i really want to use PHP-FastCGI with Suexec and XCache eventhough my host aren&rsquo;t going to support it, the answers are&nbsp;:</p>
<ol>
<li>Running PHP as Apache Module isn&rsquo;t really good (although it&rsquo;s the fastest and the easiest to configure with), because it&rsquo;s running under Apache userid not your own userid. But if it&rsquo;s for me, i do not like to chmod some of my files / directory into world writeable</li>
<li>PHPSuexec takes too many resources although it&rsquo;s secure (from security point of view), but it has the other advantage, because if you run PHPSuexec, you don&rsquo;t need to chmod some of your files / directory into 777 (beside chmod 777 is not going to work with PHPSuexec). Unfortunately the downside from this method is &hellip; i can&rsquo;t use any PHP OPCode cache / any php accelerator out there</li>
</ol>
<p>So based on that conclusion, i try reading various material about this stuff on the web, and found that the best solution is to use PHP-FastCGI with Suexec enabled to run under your own userid, and the good side from this method is you can use PHP Accelerator. Fortunately <a href="http://morph3ous.net/2006/08/03/suexec-php-514-fastcgi-and-cpanel/" rel="nofollow">there&rsquo;s someone who&rsquo;s using an almost&nbsp;identical server setup like mine</a>&nbsp;so i can simply follow his guide (although i need to do some little modification because i can&rsquo;t seem to get the .fcgi script to run if i&rsquo;m not putting it in some directory that is allowed to execute CGI) :D</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/" title="PHP-FastCGI, Suexec, and XCache Installed">Permalink</a> | <a href="http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/php/" title="View all posts in PHP" rel="category tag">PHP</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/08/18/php-fastcgi-suexec-and-xcache-installed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Client denied by Server Configuration</title>
		<link>http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/</link>
		<comments>http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 12:31:04 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[emulator]]></category>

		<category><![CDATA[httpd]]></category>

		<category><![CDATA[mangos]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[warcraft]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/" title="Client denied by Server Configuration"><strong>Client denied by Server Configuration</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>This is perhaps might be useful especially to those who s using managed server / managed vps (or have anything core system component installed and configured for you) and keep seeing client denied by...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/" title="Client denied by Server Configuration"><strong>Client denied by Server Configuration</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>This is perhaps might be useful especially to those who&rsquo;s using managed server / managed vps (or have anything related to core system component installed and configured for you) and keep seeing client denied by server configuration message on your site error_log (via CPanel or other method)&nbsp;&hellip; because that&rsquo;s what happened to me today</p>
<p>I keep seeing someone trying to access this site and get blocked immediately, but what makes it strange this error message only appear on <a href="http://www.reaper-x.com/2007/06/28/configuring-mangos-for-tbc-server-or-wow-classic-server-setting-up-private-wow-server/">some</a> of <a href="http://www.reaper-x.com/2007/04/19/how-to-configure-mangos-the-world-of-warcraft-emulator/">my pages</a>. Although when i tried to access those pages, i can see it without problem at all (yes, i have mod_security installed), so that mean there&rsquo;s something wrong somewhere in my apache configuration because if it&rsquo;s caused by hotlink protection, i already make sure it still can be viewed by those who&rsquo;s blocking their referer address</p>
<p><span id="more-590"></span></p>
<p>So after taking a good look into the httpd.conf, i found that my current host already configured&nbsp;apache to load some configuration rules outside the httpd.conf, and after checking each conf i found something i haven&rsquo;t seen before</p>
<p><em>DOSHashTableSize 3097<br />DOSPageCount 2<br />DOSSiteCount 50<br />DOSPageInterval 1<br />DOSSiteInterval 1<br />DOSBlockingPeriod 10</em></p>
<p><em>Note : the above directives is a sample</em></p>
<p>Of course the next step would be searching what this configuration directive actually does, and&nbsp;then&nbsp;i find out that my host currently use <a href="http://www.zdziarski.com/projects/mod_evasive/">mod_evasive</a> as protection measure againts HTTP Ddos attack</p>
<p>So what do i do then ? of course after i read what those configuration directives do (you can see it from the readme file attached in the mod_evasive file), i reconfigured it by increasing it value slightly&nbsp;to make sure that it&rsquo;s working properly</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/" title="Client denied by Server Configuration">Permalink</a> | <a href="http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/08/07/client-denied-by-server-configuration/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing and setting up Apache Webserver with PHP - Setting up Private WoW Server</title>
		<link>http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/</link>
		<comments>http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 09:40:18 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[httpd]]></category>

		<category><![CDATA[mangos]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[warcraft]]></category>

		<category><![CDATA[webserver]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[world of warcraft]]></category>

		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/" title="Installing and setting up Apache Webserver with PHP - Setting up Private WoW Server"><strong>Installing and setting up Apache Webserver with PHP - Setting up Private WoW Server</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Okay this is the last part of my guide about creating and setting up private wow server. And as the title said, this part is all about setting up webserver using apache on your pc that can be used to put the registration page for your private wow server]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/" title="Installing and setting up Apache Webserver with PHP - Setting up Private WoW Server"><strong>Installing and setting up Apache Webserver with PHP - Setting up Private WoW Server</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p><em>This is the fourth part of the Creating your own World of Warcraft Server using Mangos</em></p>
<ol>
<li><em>The First part is <a href="http://www.reaper-x.com/2007/06/27/mysql-installation-and-configuration-setting-up-private-wow-server/">all about Installing and Configuring MySQL</a> on your Windows Machine</em></li>
<li><em>The Second part is about&nbsp;<a href="http://www.reaper-x.com/2007/06/28/configuring-mangos-for-tbc-server-or-wow-classic-server-setting-up-private-wow-server/">Configuring the WoW Mangos</a> itself</em></li>
<li><em>The Third part is all about <a href="http://www.reaper-x.com/2007/07/03/creating-public-server-for-lan-party-setting-up-private-wow-server/">Setting up Private WOW Server for Lan Party</a></em></li>
<li><em>The Fourth part is all about <a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/">Installing and Setting up Apache Webserver with PHP</a></em></li>
</ol>
<p>Okay this is the last part of my guide about creating and setting up private wow server. And as the title said, this part is all about setting up webserver using apache on your pc that can be used to put the registration page for your private wow server</p>
<p>Previously i&rsquo;ve said that i want to tell you on how to create the registration page for your wow server. Unfortunately, it seems impossible (if you know a good registration page that can be used for WoW Classic Server and TBC Server &hellip; please let me know) because different mangos version use different structure like column number differences between the wow classic server with the wow tbc server inside the realmd.account table. So in this guide im going to tell you to use the simple registration page created by Mangos-files.de that can be used for the registration page of your WoW Classic Server</p>
<p><span id="more-572"></span></p>
<p>But i think you don&rsquo;t have to worry about that, because if you understand the steps required to set up webserver on your pc, basically you&rsquo;ve done the important part with the exception you might need to edit / create the registration page by yourself</p>
<p>As a side note, you can also use your webserver for many other things like hosting your own webpages from your own computer :)</p>
<p>That&rsquo;s all for the intro &hellip; now we&rsquo;re going to start the guide</p>
<p><strong>Requirements :</strong></p>
<ul>
<li><a href="http://httpd.apache.org/">Apache HTTPD</a> (Free / Open Source) &ndash; In this example i use Apache 1.3.3.7 (Apache 1 Series)</li>
<li><a href="http://www.php.net/">PHP Win32</a> Zip Version (Free / Open Source) &ndash; In this example i use PHP 4.4.3 (PHP4 Series)</li>
<li>Know how to&nbsp;setup port forwarding</li>
<li>A&nbsp;simple registration page for mangos (you can&nbsp;get it <a rel="nofollow" href="http://mangos-files.de/index.php?show=misc&amp;num=1">from here</a>)&nbsp;/ create one by yourself</li>
</ul>
<p><em>Optional : Some people might prefer&nbsp;the easiest way of doing it&nbsp;&hellip; and if you&nbsp;like it that way then i&rsquo;d suggest you to use XAMPP instead. But if you decided to use <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a> and you already followed my previous mysql installation guide, you don&rsquo;t need to enable the MySQL Service from XAMPP Control Panel</em></p>
<p><em><strong>Note :</strong> i never tried using XAMPP but from the screenshot&nbsp;at XAMPP Website i think the XAMPP provides you a control panel / menu to enable or disable individual service from it</em></p>
<p><em><strong>Important Note :</strong> Please take caution if you want to make your webserver accessible to everyone, because this guide only tell you the basic way of setting up webserver from your own computer</em></p>
<p><strong>Installing Apache Webserver :</strong></p>
<p>Since Apache installation for Windows is straightforward, you can just simply follow the setup process until this part, and then continue with the installation process until finished&nbsp;:</p>
<p><img alt="Apache Host Configuration" src="http://www.reaper-x.com/images/blogs/apache-20host-20setup.jpg" border="0" / /></p>
<p>and don&rsquo;t forget to remember the path where you&rsquo;re going to install it</p>
<p><img alt="Apache path" src="http://www.reaper-x.com/images/blogs/apache-20path.jpg" border="0" / /></p>
<p><strong>Installing PHP :</strong></p>
<p>First of all you need to extract php into somewhere on your harddrive, and in this example the php location is at <em>C:\PHP</em>. And after you&rsquo;ve finished extracting it, go to <em>C:\PHP\Sapi</em>&nbsp;from Windows Explorer and copy the <em>php4apache.dll</em> into the root of the php directory. If you choose to use Apache 2, then you need to copy the <em>php4apache2.dll</em> instead</p>
<p>Here&rsquo;s what it should look like :</p>
<p><img alt="Copy PHP dll into PHP root directory" src="http://www.reaper-x.com/images/blogs/php-20module-20copy.jpg" border="0" / /></p>
<p><strong>Installing&nbsp;PHP as module in Apache HTTPD :</strong></p>
<p>Now after finished with the previous steps, you need to configure apache to load the php4 as a module. And here&rsquo;s how to do it</p>
<p>1. Open <em>httpd.conf</em> in your Apache&nbsp;conf directory (in this example, the httpd.conf can be found at <em>C:\Program Files\Apache Group\Apache\conf\httpd.conf</em>)</p>
<p>2. Uncomment the :</p>
<p><em>LoadModule rewrite_module modules/mod_rewrite.so</em></p>
<p>and add this line after all the loadmodule :</p>
<p><em>LoadModule php4_module "C:/php/php4apache.dll"</em></p>
<p>Example image below :</p>
<p><img alt="Apache load php module" src="http://www.reaper-x.com/images/blogs/apache-20load-20php-20module.jpg" border="0" / /></p>
<p>3. At the addmodule section uncomment the :</p>
<p><em>AddModule mod_rewrite.c</em></p>
<p>and then at this line :</p>
<p><em>AddModule mod_php4.c</em></p>
<p>example image below :</p>
<p><img alt="Apache add module" src="http://www.reaper-x.com/images/blogs/apache-20add-20module.jpg" border="0" / /></p>
<p>4. At the addtype section add this line :</p>
<p><em>AddType application/x-httpd-php .php<br />AddType application/x-httpd-php-source .phps</em></p>
<p><img alt="Apache addtype" src="http://www.reaper-x.com/images/blogs/apache-20addtype.jpg" border="0" / /></p>
<p>5. Now at the DirectoryIndex section add / replace the previous line with this one :</p>
<p><em>DirectoryIndex index.html index.php</em></p>
<p><img alt="Apache directory index" src="http://www.reaper-x.com/images/blogs/apache-20directory-20index.jpg" border="0" / /></p>
<p>From the above example, the index.html always get first priority over index.php file but you can change it as you like</p>
<p>Testing your Apache Installation :</p>
<p>As for the last, now you need to open the command prompt window (Start Menu -&gt; Run -&gt; type CMD) or Start Menu -&gt; Accessories -&gt; Command Prompt</p>
<p>and type :</p>
<ol>
<li><em>Net stop apache</em></li>
<li><em>Net start apache</em></li>
</ol>
<p>This is done to make apache reload the configuration files that have been changed</p>
<p><img alt="Apache test page" src="http://www.reaper-x.com/images/blogs/apache-20test-20page.jpg" border="0" / /></p>
<p>Now you&rsquo;ve finished with all the process, but of course you need to make sure your webserver is working properly so now you need to test it by typing <em>http://localhost</em> via your browser and if you see something like&nbsp;above image, that means your webserver is working</p>
<p>You&rsquo;ve finished setting up apache webserver,&nbsp;mysql&nbsp;and php on your computer .. Now what you should do next ? well &hellip; because this is part of the mangos series guide, of course now you need to put the registration page you&rsquo;ve downloaded previously into your www document root directory</p>
<p>If you followed this guide, the document root can be&nbsp;found at <em>C:\Program Files\Apache Group\Apache\htdocs</em> &hellip; but since the webserver is located on the same location as where you are, you don&rsquo;t need FTP Program to do it, you just need to copy / extract the simple registration page into that&nbsp;directory &hellip; simple isn&rsquo;t it ?</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/" title="Installing and setting up Apache Webserver with PHP - Setting up Private WoW Server">Permalink</a> | <a href="http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/#comments" title="114 comments">114 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/how-to/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/07/09/installing-and-setting-up-apache-webserver-with-php-setting-up-private-wow-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hostgator Review, a Personal Experience</title>
		<link>http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/</link>
		<comments>http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 05:01:43 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Opinion]]></category>

		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[hostgator]]></category>

		<category><![CDATA[intel]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[php5]]></category>

		<category><![CDATA[psu]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[webhosting]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/" title="Hostgator Review, a Personal Experience"><strong>Hostgator Review, a Personal Experience</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Small information about Hostgator, quoted from their about page. Hostgator is a privately owned company founded in 2002 that has no debt, is very profitable, and has NO intentions of selling any time...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/" title="Hostgator Review, a Personal Experience"><strong>Hostgator Review, a Personal Experience</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p><a href="http://www.reaper-x.com/redir/hostgator"><img class="alignleft" src="http://www.hostgator.com/banners/hostgator-125x125.gif" border="0" /></a>Small information about Hostgator, quoted from their about page. <em>Hostgator is a privately owned company founded in 2002 that has no debt, is very profitable, and has NO intentions of selling any time soon. We provide service to over 400,000 websites on our shared and reseller plans. We are the world's leading provider of reseller accounts with over 10,000 resellers who have chosen us to provide the network, servers, and support required to launch a hosting business</em></p>
<p>At the time i write this post, i'm currently hosted by Hostgator (dunno if in the future) i'm going to move into other web hosting company or not. But one thing for sure is, when i posted this .. i have been with hostgator for&nbsp;8 months (until March 07). And without further ado, here&rsquo;s my own complete hostgator review (including their server setup and so on), based on my personal experience with them&nbsp;:</p>
<p><span id="more-425"></span></p>
<p><strong>Webhosting Plan Offered</strong> :</p>
<p>1. <em>Hatchling Croc</em> :</p>
<ul>
<li>Price : $6.95 (paid yearly)</li>
<li>Storage : 50 GB</li>
<li>Bandwidth : 200 GB</li>
<li>Type : Shared Hosting</li>
</ul>
<p>2. <em>Baby Croc</em> :</p>
<ul>
<li>Price : $9.95 (monthly)</li>
<li>Storage : 100 GB</li>
<li>Bandwidth : 1 TB / 1000 GB</li>
<li>Type : Shared Hosting</li>
</ul>
<p>3. <em>Swap Croc</em> :</p>
<ul>
<li>Price : $14.95 (monthly)</li>
<li>Storage : 200 GB</li>
<li>Bandwidth : 2 TB / 2000 GB</li>
<li>Type : Shared Hosting</li>
</ul>
<p>4. <em>Semi Dedicated</em> :</p>
<ul>
<li>Price : $74.95 (monthly)</li>
<li>Storage : 25 GB</li>
<li>Bandwidth : 500 GB</li>
<li>Type : Shared Hosting, almost VPS like with the exception there&rsquo;s no root access</li>
</ul>
<p><strong>Server Setup and Features&nbsp;</strong>:</p>
<ol>
<li>Using CPanel and Fantastico that provides one click installation to various web application such as Wordpress</li>
<li>They are using PHPSuexec on their server which is a plus for security reason</li>
<li>You can choose whether you want PHP5 or PHP4 on your server</li>
<li>Using MySQL 4.1.xx as their SQL Database</li>
<li>Support Ruby on Rails</li>
<li>Adult supported (to those who&rsquo;s interested on creating adult website)</li>
<li>On my current server i got this setup,&nbsp;Intel(R) Xeon(TM) CPU 3.20GHz with 4242960384 KB RAM</li>
<li>They can also give you SSH access to your own account known as Jailed SSH, and to activate this features you can just simply give them your photo id as identification</li>
</ol>
<p><strong>Server /&nbsp;Resources Usage Limitation</strong> :</p>
<ol>
<li>Can not use 25% or more of system resources for longer then 90 seconds</li>
<li>Can only run cron entries with intervals of less than 15 minutes</li>
<li>There is a 200 hourly email limit per domain this limit is also applied towards mailman</li>
<li>30 Maximum Concurrent Connection to MySQL</li>
<li>If you&rsquo;re using Hostgator nameserver and using shared hosting, the only option to change your DNS settings is by emailing them and ask them to change it</li>
<li><strike>No SSH (this is not necessary to those who&rsquo;s not interested on unix command)</strike></li>
</ol>
<p><strong>Personal Opinion About Hostgator</strong> :</p>
<p>They&rsquo;re a good webhosting company, good respond time from their sales and support team. And the Level 3 Support team is really good and does the job very well (24 Hours support). And as a side note, i live in GMT +7 timezone</p>
<p>Good Uptime, although sometimes there&rsquo;s downtime but i'm sure that every webhosting out there has downtime issue (last night there&rsquo;s downtime for about 45 Minutes reported by Pingdom Monitoring, and Siteuptime). If you want to see the uptime of this website, you can check my sidebar for it</p>
<p>The only thing i do not like from them is i have to email them everytime whenever i want to change / add zones to my domain. Maybe they should give access to zones editing or such stuff so i can modify my zones manually without telling them to do it whenever i want to add something (for example adding CName)</p>
<p>Other thing i like is the SSH access to simplify thing, although im not a unix expert</p>
<p>And the conclusion is, if you seek a reliable web hosting company and can be trusted, you might try using the <a href="http://www.reaper-x.com/redir/hostgator">Hostgator service</a> and see it for yourself</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/" title="Hostgator Review, a Personal Experience">Permalink</a> | <a href="http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/#comments" title="6 comments">6 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/opinion/" title="View all posts in Opinion" rel="category tag">Opinion</a>,  <a href="http://www.reaper-x.com/category/web-hosting/" title="View all posts in Web Hosting" rel="category tag">Web Hosting</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/03/07/hostgator-review-a-personal-experience/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress </title>
		<link>http://www.reaper-x.com/2007/02/28/wordpress/</link>
		<comments>http://www.reaper-x.com/2007/02/28/wordpress/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 22:24:44 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Network and Security]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Website]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[iso]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2007/02/28/wordpress/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/02/28/wordpress/" title="Wordpress "><strong>Wordpress </strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>I found this from SecFocus website regarding the XSS problem on Wordpress 2.1.1 (0day) yesterday .. and this new xss exploit works on version 2.1.1 .. (i&#8217;ve already tested it on my local server) &#8211; Lin...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2007/02/28/wordpress/" title="Wordpress "><strong>Wordpress </strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>I found this from SecFocus website regarding the XSS problem on Wordpress 2.1.1 (0day) yesterday .. and&nbsp;this new xss exploit&nbsp;works on version 2.1.1 .. (i&rsquo;ve already tested it on my local server) &ndash; <a href="http://www.securityfocus.com/archive/1/461351/30/0/threaded" target="_blank">Link</a>&nbsp;(SecFocus) / <a href="http://secunia.com/advisories/24316/" target="_blank">Link 2</a>&nbsp;(Secunia) and here&rsquo;s what it said :</p>
<p>Samenspender has discovered a vulnerability in WordPress, which can be exploited by malicious people to conduct cross-site scripting attacks.</p>
<p>Input passed to the "post" parameter in wp-admin/post.php (when "action" is set to "delete") is not properly sanitised before being returned to a user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.</p>
<p>Successful exploitation requires that the target user is logged in as administrator.</p>
<p>The vulnerability is confirmed in version 2.1.1. Other versions may also be affected.</p>
<p>And today, i read another possible script injection attack on wordpress &lt;= 2.1.1 based blogging platform discovered by Stefan Friedli &ndash; <a href="http://www.securityfocus.com/archive/1/461440" target="_blank">Link</a></p>
<p>The only solution&nbsp;i&rsquo;ve&nbsp;found so far to prevent / reduce the damage of this attack is by protecting your wordpress admin directory using <em>.htaccess</em> or you can also use <em>mod_security</em> if it&rsquo;s installed on your webserver</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2007/02/28/wordpress/" title="Wordpress <= Adminpanel 2.1.1 XSS Vulnerability">Permalink</a> | <a href="http://www.reaper-x.com/2007/02/28/wordpress/#comments" title="3 comments">3 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/network-and-security/" title="View all posts in Network and Security" rel="category tag">Network and Security</a>,  <a href="http://www.reaper-x.com/category/php/" title="View all posts in PHP" rel="category tag">PHP</a>,  <a href="http://www.reaper-x.com/category/website/" title="View all posts in Website" rel="category tag">Website</a>,  <a href="http://www.reaper-x.com/category/wordpress/" title="View all posts in Wordpress" rel="category tag">Wordpress</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2007/02/28/wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Force WWW on your Domain / URL</title>
		<link>http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/</link>
		<comments>http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/#comments</comments>
		<pubDate>Tue, 14 Nov 2006 11:41:09 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[modrewrite]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[Search Engine]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url.htm</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/" title="Force WWW on your Domain / URL"><strong>Force WWW on your Domain / URL</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Because i ve been getting queries from search engine from someone who want his domain name always use the www version instead of non www version, i decided to post it again. Well although i ve already...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/" title="Force WWW on your Domain / URL"><strong>Force WWW on your Domain / URL</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>Because i&rsquo;ve been getting queries from search engine from someone who want his domain name always use the <em>www</em> version instead of <em>non www</em> version, i decided to post it again. Well although <a href="http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it.htm">i&rsquo;ve already write about this before</a>, but it seems for some people they don't know which part is the <em>force www</em>.</p>
<p>And because i&rsquo;ve already explained it before, i'm not going into much detail and don't forget to put this in your <em>.htaccess</em> file :</p>
<p><code></p>
<p>&lt;IfModule mod_rewrite.c&gt;<br />Options +FollowSymLinks<br />RewriteCond %{HTTP_HOST} !^www\.your-domain-name\.com&nbsp; [NC]<br />RewriteRule ^(.*)$ http://www.your-domain-name.com/$1 [R=301,L]<br />&lt;/IfModule&gt;</p>
<p></code></p>
<p>That&rsquo;s it, and you&rsquo;re finished, and as a side note you should choose to use only the <em>www</em> or <em>non www</em> version of your domain name, because Google doesn't like duplicate content on same website / domain name. ;)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/" title="Force WWW on your Domain / URL">Permalink</a> | <a href="http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/#comments" title="One comment">One comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/search-engine/google/" title="View all posts in Google" rel="category tag">Google</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/search-engine/seo/" title="View all posts in SEO" rel="category tag">SEO</a>,  <a href="http://www.reaper-x.com/category/how-to/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2006/11/14/force-www-on-your-domain-url/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Explanation about Addon Domain and using Modrewrite on it</title>
		<link>http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/</link>
		<comments>http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 21:19:08 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Internet]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[modrewrite]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[subdomain]]></category>

		<category><![CDATA[webhosting]]></category>

		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it.htm</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/" title="Explanation about Addon Domain and using Modrewrite on it"><strong>Explanation about Addon Domain and using Modrewrite on it</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Okay, so you just bought a new domain name but you doesn't want to buy another webhosting plan because your current webhosting already allow you to host multiple domain under one account so you decide...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/" title="Explanation about Addon Domain and using Modrewrite on it"><strong>Explanation about Addon Domain and using Modrewrite on it</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>Okay, so you just bought a new domain name but you doesn't want to buy another webhosting plan because your current webhosting already allow you to host multiple domain under one account so you decided not to buy another hosting. Although addon domain can be set up easily, but as you already knew that addon domain can be accessed through various url because addon domain is a subdirectory of your current hosting directory</p>
<p><span id="more-165"></span></p>
<p>For example you already have a website hosted by some webhosting service&nbsp;using mydomain.com as your domain name, most likely your&nbsp;public_html or your web root directory&nbsp;will be <strong>/home/yourdomain.com/public_html</strong>. And if you buy another domain name (for example addondomain.com), your addon domain web root or public_html directory will be <strong>/home/yourdomain.com/public_html/addondomain</strong> (although the addon domain name directory may vary because you can change it) </p>
<p>And to access your addon domain name or url, you can use various method like below :</p>
<ul>
<ul>
<li>www.mydomain.com/addondomain</li>
<li>mydomain.com/addondomain</li>
<li>addondomain.mydomain.com</li>
<li>www.addondomain.mydomain.com</li>
<li>www.addondomain.com</li>
<li>addondomain.com</li>
</ul>
</ul>
<p>The first url, sure doesn't looks to good. Because everyone can see that your addondomain is a subdirectory of your primary domain. As for the second url, it&rsquo;s not that good too. Because most of web surfer always forgot to add www before going to a website (although&nbsp;it&rsquo;s up to you whether you want your website with or without www) .. but if it's for me i&rsquo;d rather have www by enforcing them automatically like Yahoo!</p>
<p>The&nbsp;third and&nbsp;fourth url is because is not good too because it list your addondomain as a subdomain of your primary domain, and i'm pretty sure no one like that, right ?</p>
<p>And the fifth and sixth address is the correct url, but the sixth address is without www before your domain name. And just like i said before, that depend on you .. but as a side note, i'm going to tell you how to force your website to always using www in front of your addondomain or domain name and if they write the url using the first &ndash; fourth address, it&rsquo;ll automatically change into addondomain.com.</p>
<p>And in order to use that, you&rsquo;ll need&nbsp;<em>modrewrite</em> enabled on your Linux Webhosting (and of course your Linux Server must be running Apache as the web server)</p>
<p>Here&rsquo;s a few lines of code you should put into your <em>.htaccess</em> file so it&rsquo;ll automatically do the job for your addondomain, no matter what url typed into the address bar of your visitors browser</p>
<blockquote><p><code><ifmodule mod_rewrite.c>&lt;IfModule mod_rewrite.c&gt;<br />Options +FollowSymLinks<br />RewriteEngine On<br />RewriteCond %{HTTP_HOST} ^(www\.)?addondomain\.mydomain\.com [NC,OR]<br />RewriteCond %{HTTP_HOST} ^!www\.addondomain\.com [NC]<br />RewriteRule ^(.*)$ http://www.addondomain.com/$1 [R=301,L]<br />RewriteCond %{HTTP_HOST} ^addondomain.com [NC]<br />RewriteRule ^(.*)$ http://www.addondomain.com/$1 [R=301,L]<br />RewriteCond %{REQUEST_URI} ^/addondomain($|/.*$)<br />RewriteRule ^.* http://www.addondomain.com%1 [R=301,L]<br />&lt;/IfModule&gt; </ifmodule></code></p></blockquote>
<p>The IfModule used just in case your server didn't have modrewrite enabled, so your server doesn't return a 500 status header, as for the other part, i think it self explained because you can see it clearly &hellip; as a side note, i'm using this on a few of my domain name. And hopefully this small <em>.htaccess</em> or <em>modrewrite</em> guide / tips / whatever can be usefull for you :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/" title="Explanation about Addon Domain and using Modrewrite on it">Permalink</a> | <a href="http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/#comments" title="6 comments">6 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/internet/" title="View all posts in Internet" rel="category tag">Internet</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/how-to/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2006/10/11/explanation-about-addon-domain-and-using-modrewrite-on-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Redirecting Wordpress Feed into Feedburner</title>
		<link>http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/</link>
		<comments>http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 07:11:07 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[feed]]></category>

		<category><![CDATA[feedburner]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[google sitemap]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[redirect]]></category>

		<category><![CDATA[rss]]></category>

		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner.htm</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/" title="Redirecting Wordpress Feed into Feedburner"><strong>Redirecting Wordpress Feed into Feedburner</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Yesterday i ve finished setting up the redirection on my feed url so all the request made into my feed url got redirected automatically into my feedburner url. There s a lot of website already put thi...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/" title="Redirecting Wordpress Feed into Feedburner"><strong>Redirecting Wordpress Feed into Feedburner</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>Yesterday i&rsquo;ve finished setting up the redirection on my feed url so all the request made into my feed url got redirected automatically into my feedburner url. There&rsquo;s a lot of website already put this guide on how to redirect your wordpress feed into feedburner feed, but in my case i was using the redirect only for human not bot.</p>
<p><span id="more-112"></span></p>
<p>Because if you submit your site feed into google sitemap or yahoo sitemap, your feedburner feed can&rsquo;t be read by those bot or other rss aggregator bot if you choose to <strong>optimize </strong>your feedburner feed so it&rsquo;s browser friendly. If you don&rsquo;t understand what i mean about optimizing your feedburner feed, take a look at my feedburner feed at <strong><a href="http://feeds.reaper-x.com/ReaperX">http://feeds.reaper-x.com/ReaperX</a></strong> and you&rsquo;ll see the XML file was transformed by feedburner so you can read it in your browser, instead of showing the XML codes. But this optimizing thing doesn&rsquo;t looks good to bot / rss aggregator bot because bot can only see&nbsp;it in real xml format not the converted xml codes. And so i decided to make .htaccess file containing redirection only for human not for bot (although i don&rsquo;t have a complete list but this one already enough for me).</p>
<p>And here&rsquo;s the sample .htaccess file i'm using to redirect my feed into feedburner :</p>
<p><code><br />
<strike>RewriteCond %{HTTP_USER_AGENT} !^.*RSS.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Aggregat.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Crawler.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Seek.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Google.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Yahoo.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*FeedBurner.*  [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Spider.* [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Bot.* [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Wordpress.* [NC]<br />
RewriteCond %{HTTP_USER_AGENT} !^.*Ask.* [NC]<br />
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/ReaperX [R=301,NC,L]<br />
</strike><br />
</code> </p>
<p>Forget about that part ... the simple way to do it is just like this :)<br />
<code><br />
# 301 Redirect to the new feed url for every<br />
RewriteCond %{HTTP_USER_AGENT} !Feedburner [NC]<br />
RewriteRule ^feed/?([-_0-9a-z]+)?/?$ http://feeds.reaper-x.com/ReaperX [R=301,NC,L]<br />
</code><br />
<code><br />
# 301 Redirect to the new comments feed url<br />
RewriteCond %{HTTP_USER_AGENT} !Feedburner [NC]<br />
RewriteRule ^comments/feed/?([-_0-9a-z]+)?/?$ http://feeds.reaper-x.com/ReaperXComments [R=301,NC,L]<br />
</code></p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/" title="Redirecting Wordpress Feed into Feedburner">Permalink</a> | <a href="http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/#comments" title="One comment">One comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/how-to/guide/" title="View all posts in Guide" rel="category tag">Guide</a>,  <a href="http://www.reaper-x.com/category/linux/" title="View all posts in Linux" rel="category tag">Linux</a>,  <a href="http://www.reaper-x.com/category/how-to/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a>,  <a href="http://www.reaper-x.com/category/wordpress/" title="View all posts in Wordpress" rel="category tag">Wordpress</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2006/09/03/redirecting-wordpress-feed-into-feedburner/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apache mod_rewrite Security Flaw</title>
		<link>http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/</link>
		<comments>http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 00:55:20 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Computer Security]]></category>

		<category><![CDATA[Journal]]></category>

		<category><![CDATA[Network and Security]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[httpd]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw.htm</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/" title="Apache mod_rewrite Security Flaw"><strong>Apache mod_rewrite Security Flaw</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>Yesterday i just read about the recent security flaw in mod_rewrite modules in Apache HTTP Server that can make the web server process crash or allow arbitrary code execution by a malicious user. And...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/" title="Apache mod_rewrite Security Flaw"><strong>Apache mod_rewrite Security Flaw</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>Yesterday i just read about the recent security flaw in mod_rewrite modules in Apache&nbsp;HTTP Server that can make the web server process crash or allow arbitrary code execution by a malicious user. And here&rsquo;s the announcement from the Apache HTTP Security team :</p>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<p><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3747">CVE-2006-3747:</a> An off-by-one flaw exists in the Rewrite module, mod_rewrite, as shipped with Apache 1.3 since 1.3.28, 2.0 since 2.0.46, and 2.2 since 2.2.0. </p>
<p>Depending on the manner in which Apache HTTP Server was compiled, this software defect may result in a vulnerability which, in combination with certain types of Rewrite rules in the web server configuration files, could be triggered remotely. For vulnerable builds, the nature of the vulnerability can be denial of service (crashing of web server processes) or potentially allow arbitrary code execution. This issue has been rated as having important security impact by the Apache HTTP Server Security Team.</p>
<p>This flaw does not affect a default installation of Apache HTTP Server. Users who do not use, or have not enabled, the Rewrite module mod_rewrite are not affected by this issue. This issue only affects installations using a Rewrite rule with the following characteristics:</p>
<ul>
<li>The RewriteRule allows the attacker to control the initial part of the rewritten URL (for example if the substitution URL starts with $1)</li>
<li>The RewriteRule flags do NOT include any of the following flags: Forbidden (F), Gone (G), or NoEscape (NE).</li>
</ul>
<p>Please note that ability to exploit this issue is dependent on the stack layout for a particular compiled version of mod_rewrite. If the compiler used to compile Apache HTTP Server has added padding to the stack immediately after the buffer being overwritten, it will not be possible to exploit this issue, and Apache HTTP Server will continue operating normally.</p>
</blockquote>
<p dir="ltr">So in the other words, every users should update their Apache installation immediately, especially for those who&rsquo;s already using a blogging platform like Wordpress, because if you want to use the Permalink feature, you&rsquo;ll have to use mod_rewrite function and the Wordpress installation included that by default (except it doesn't have write access to the .htaccess file) but if you&rsquo;re using your own computer as a server, then you should apply this update immediately</p>
<p dir="ltr">And here&rsquo;s a link if you&nbsp;want to get more information about this issue :</p>
<ul dir="ltr">
<li>
<div><a href="http://www.apache.org/dist/httpd/Announcement1.3.html"title="Apache HTTP Server 1.3.37 Released"  target="_blank">Apache HTTP Server 1.3.37 Released</a><a href="http://www.apache.org/dist/httpd/Announcement1.3.html"title="Apache HTTP Server 1.3.37 Released"  target="_blank"></a></div>
</li>
<li>
<div><a href="http://www.kb.cert.org/vuls/id/395412"title="US-CERT Vulnerability Note VU#395412"  target="_blank">US-CERT Vulnerability Note VU#395412</a><a href="http://www.kb.cert.org/vuls/id/395412"title="US-CERT Vulnerability Note VU#395412"  target="_blank"></a></div>
</li>
<li>
<div><a href="http://httpd.apache.org/"title="Apache Official Website"  target="_blank">Apache Official Website</a></div>
</li>
</ul>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/" title="Apache mod_rewrite Security Flaw">Permalink</a> | <a href="http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/computer-security/" title="View all posts in Computer Security" rel="category tag">Computer Security</a>,  <a href="http://www.reaper-x.com/category/journal/" title="View all posts in Journal" rel="category tag">Journal</a>,  <a href="http://www.reaper-x.com/category/network-and-security/" title="View all posts in Network and Security" rel="category tag">Network and Security</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2006/08/23/apache-mod_rewrite-security-flaw/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Definitely Great Hosting !</title>
		<link>http://www.reaper-x.com/2006/08/22/definitely-great-hosting/</link>
		<comments>http://www.reaper-x.com/2006/08/22/definitely-great-hosting/#comments</comments>
		<pubDate>Mon, 21 Aug 2006 21:03:41 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Journal]]></category>

		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Web Servers]]></category>

		<category><![CDATA[Website]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://reaper-x.com/2006/08/22/definitely-great-hosting.htm</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/22/definitely-great-hosting/" title="Definitely Great Hosting !"><strong>Definitely Great Hosting !</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>After playing around with my new host &#8230; i finally found out that this host support permanent redirect, full mod_rewrite support, etc !!! &#8230; unlike my previous host, although i&#8217;ve set up some pretty red...]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/22/definitely-great-hosting/" title="Definitely Great Hosting !"><strong>Definitely Great Hosting !</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>After playing around with my new host &hellip; i finally found out that this host support permanent redirect, full mod_rewrite support, etc !!! &hellip; unlike my previous host, although i&rsquo;ve set up some pretty redirect it always give the same result, although the permalink works it still return 302 http header no matter what !!! &hellip; I think i'm going to be with this new host for a long time &hellip; lol .. and hopefully they&rsquo;ll reduce their prices too (you know from someone in 3rd country like me, $5 means alot) :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/22/definitely-great-hosting/" title="Definitely Great Hosting !">Permalink</a> | <a href="http://www.reaper-x.com/2006/08/22/definitely-great-hosting/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/journal/" title="View all posts in Journal" rel="category tag">Journal</a>,  <a href="http://www.reaper-x.com/category/web-hosting/" title="View all posts in Web Hosting" rel="category tag">Web Hosting</a>,  <a href="http://www.reaper-x.com/category/web-servers/" title="View all posts in Web Servers" rel="category tag">Web Servers</a>,  <a href="http://www.reaper-x.com/category/website/" title="View all posts in Website" rel="category tag">Website</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2006/08/22/definitely-great-hosting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Guide to import posts on wordpress into new host</title>
		<link>http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/</link>
		<comments>http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/#comments</comments>
		<pubDate>Thu, 17 Aug 2006 17:46:01 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
		
		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[General Blogging]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[WPMU]]></category>

		<category><![CDATA[Web Hosting]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[Domain]]></category>

		<category><![CDATA[driver]]></category>

		<category><![CDATA[Guide]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[rss]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[webserver]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://reaper-x.com/2006/08/18/how-to-import-posts-on-wordpress-post/</guid>
		<description><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/" title="Guide to import posts on wordpress into new host"><strong>Guide to import posts on wordpress into new host</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p>I have completely finished all the initial setup on my new homepage, after configuring domain name, uploading the wordpress software, installing some plugins, put one wordpress theme to use instead of the default kubrick, and many other steps &#8230; but i think just in case you want to have your own hosting service like me [...]]]></description>
			<content:encoded><![CDATA[<p>Copyright www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/" title="Guide to import posts on wordpress into new host"><strong>Guide to import posts on wordpress into new host</strong></a> by <a href="http://www.reaper-x.com" title="Reaper-X .:[ ID ]:. &#187; Apache"><strong>Reaper-X</strong></a></p><p>I have completely finished all the initial setup on my new homepage, after configuring domain name, uploading the wordpress software, installing some plugins, put one wordpress theme to use instead of the default kubrick, and many other steps &hellip; but i think just in case you want to have your own hosting service like me (actually this is shared between me and my uncle&rsquo;s) :P &hellip; anyway, i&rsquo;m going to give you&nbsp;some tips&nbsp;on how to copy your old blogs post / article into your new hosting service without using RSS because its not quite perfect (and this is the way i'm doing it) but i'm not going into detail here because it&rsquo;ll be reallllly long &hellip; and just a note, my hosting service doesn't provide CPanel or Fantastico that can simplify your CMS Software Installation</p>
<p>Required Software :</p>
<p><span id="more-96"></span></p>
<ul>
<li><a href="http://www.apache.org/"title="Apache Web Server"  target="_blank">Apache Web Server</a>&nbsp;: a Web Server Software so you can run Wordpress on your computer</li>
<li><a href="http://www.mysql.com/"title="MySQL"  target="_blank" rel="nofollow">MySQL</a>&nbsp;: SQL Database which is required by Wordpress</li>
<li><a href="http://www.phpmyadmin.net/"title="Phpmyadmin"  target="_blank" rel="nofollow">Phpmyadmin</a>&nbsp;: to simplify MySQL database management</li>
<li><a href="http://mu.wordpress.org/"title="Wordpress Multi Users"  target="_blank" rel="nofollow">Wordpress MU</a>&nbsp;: Required because the most perfect way to import your blogs posts by using Wordpress MU (at the time i wrote this)</li>
<li><a href="http://www.wordpress.org/"title="Wordpress SU"  target="_blank" rel="nofollow">Wordpress SU</a>&nbsp;: This is the one you&rsquo;re going to use on your web hosting service, if it doesn't give you Fantastico (but i prefer to upload it directly instead of using Fantastico)</li>
</ul>
<p>The first step is, install Apache and MySQL on your Computer and configure it correctly so your web server can be accessed at <a href="http://localhost/" target="_blank">http://localhost</a> by typing at the browser address bar. And as for the next step if you&rsquo;re using Windows, open the HOSTS file in Windows/System32/Drivers/etc directory and add these line (if you&rsquo;re using linux there&rsquo;s no need to use this) :</p>
<p><code>127.0.0.1 localhost.localdomain</code></p>
<p>because Wordpress MU required to be run at localhost.localdomain instead of just localhost. And after doing the above steps, extract the Phpmyadmin into the root of your web server directory (in your computer) .. and configure it as necessary like configuring the mysql database path and so on. If you already finish that step, open your web browser and try opening <a href="http://localhost.localdomain/phpmyadmin" target="_blank">http://localhost.localdomain/phpmyadmin</a> (depends on your phpmyadmin directory) and see if you can open it and access the mysql database in your browser.</p>
<p>And now, create a database to use on Wordpress MU installation, and extract the Wordpress MU Archive into the directory of your webserver, and configure it again to use that database. And once again open your browsers and point the url into your Wordpress MU directory and see if it can load properly, then follow the steps given untill finished</p>
<p>And now (how many time did i say &ldquo;And Now&rdquo; ? ) &hellip; lol &hellip; open your web browsers into your Wordpress.com account and choose Manage -&gt; Export -&gt; and save it in your harddisk. Then Open up the wordpress MU url again in your browser and choose to Import the Wordpress xml file and wait untill your post has been succesfully imported into the Wordpress MU installation, and now open the phpmyadmin url in your browser and open up the <strong>_categories</strong> table and delete <strong>link_count</strong>, <strong>posts_private</strong> and <strong>links_private</strong> field, then choose to Export from the Wordpress MU SQL Database only at the below table using any&nbsp;format you choose&nbsp;:</p>
<p><code>*_<strong>categories</strong> , *_<strong>comments</strong> , *_<strong>posts</strong> , and *_<strong>post2cat</strong></code></p>
<p>after doing the above step, if you were using an uncompressed format, copy &ndash; paste all the sql query into your favorite text editor &hellip; and rename all the *_table so the results will be :</p>
<p><code><strong>wp_categories</strong> , <strong>wp_comments</strong> , <strong>wp_posts</strong> and <strong>wp_post2cat</strong></code></p>
<p>and now upload the wordpress single user installation into your web hosting service, and install the wordpress single users and login into your admin dashboard and delete all the welcome messages, comment, posts, etc (just to be safe) &hellip; after that open Phpmyadmin (most web hosting service already gives you this, including me that&rsquo;s not using Fantastico or CPanel) and choose to run the previous sql query by importing it &hellip; and wait &hellip;</p>
<p>That&rsquo;s it you&rsquo;re finished ;) &hellip; all your wordpress.com posts are imported into standard wordpress installation &hellip; hopefully you understand what i'm trying to say (sorry if my english is bad) &hellip; and just a note &hellip; this is a manual step without using RSS / external plugin to import your posts and require you to know about SQL, Web Server and such stuff, so if you don&rsquo;t understand about this stuff i suggest you try asking someone who can help you importing your wordpress posts into your new host.</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/" title="Guide to import posts on wordpress into new host">Permalink</a> | <a href="http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/#comments" title="2 comments">2 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/apache/" title="View all posts in Apache" rel="category tag">Apache</a>,  <a href="http://www.reaper-x.com/category/miscellaneous/blogging/" title="View all posts in Blogging" rel="category tag">Blogging</a>,  <a href="http://www.reaper-x.com/category/miscellaneous/general-blogging/" title="View all posts in General Blogging" rel="category tag">General Blogging</a>,  <a href="http://www.reaper-x.com/category/how-to/tutorials/" title="View all posts in Tutorials" rel="category tag">Tutorials</a>,  <a href="http://www.reaper-x.com/category/wpmu/" title="View all posts in WPMU" rel="category tag">WPMU</a>,  <a href="http://www.reaper-x.com/category/web-hosting/" title="View all posts in Web Hosting" rel="category tag">Web Hosting</a>,  <a href="http://www.reaper-x.com/category/wordpress/" title="View all posts in Wordpress" rel="category tag">Wordpress</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2006/08/18/guide-to-import-posts-on-wordpress-into-new-host/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
