<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>Tildemark blogs</title>
        <link>http://www.tildemark.com/</link>
        <description>Blogging on uniquely random things. </description>
        <language>en</language>
        <copyright>Copyright 2009</copyright>
        <lastBuildDate>Wed, 19 Nov 2008 06:03:03 +0800</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>Adding www to your domain using 301 redirect with htaccess </title>
            <description><![CDATA[You can tell the server to automatically append www on each query to your website using .htaccess. That is all incoming requests to a non www query gets forwarded to the host with www prepended before the domain. Although google treats them equally now, yahoo and live search may not. So its still wise to add them to your website somehow. Its a great advantage to your site especialy in terms of search engine optimization. <br /><br />Here is the .htaccess script that forwards all request without www to your website having the www before the domain name. <br /><br />

<pre><code>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
</code>
</pre>

Please note that this is only possible to websites that are hosted in either Linux or Unix servers running Apache]]></description>
            <link>http://www.tildemark.com/programming/mod-rewrite/adding-www-to-your-domain-using-301-redirect-with-htaccess.html</link>
            <guid>http://www.tildemark.com/programming/mod-rewrite/adding-www-to-your-domain-using-301-redirect-with-htaccess.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Mod_rewrite</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">SEO</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Servers</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">apache</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">htaccess</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">seo</category>
            
            <pubDate>Wed, 19 Nov 2008 06:03:03 +0800</pubDate>
        </item>
        
        <item>
            <title>Setting up Virtual Hosts with XAMPP running on Windows XP</title>
            <description><![CDATA[<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://www.tildemark.com/images/virtual.gif"><img alt="virtual.gif" src="http://www.tildemark.com/images/virtual-thumb-200x287.gif" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left;" width="200" height="287" /></a></span>Setting up virtual hosts with XAMPP is very straight forward and could be done in less than 5 minutes. Although, your local XAMPP server will still work even if virtual hosts are not configured. You might want to ask, is there a need for my local XAMPP setup to configure virtual hosts? Apparently, virtual hosts are needed when <br /><br /><blockquote><blockquote><ul><li>your on multiple domains </li><li>your need to test your projects with same configuration with the server</li><li>test your projects without touching your public server</li><li>your just organizing your projects into groups</li><li>or setup a local copy of your blog or website</li></ul></blockquote></blockquote><b>What do we need?</b><br />This document assumes that you are working with Windows XP with XAMPP. If you don't have XAMPP, get it at their <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP for Windows download page</a>. Just execute the exe file and follow the onscreen instructions. <br /><br /><b>Configuring Windows XP to accept hosts</b><br />Hosts is a file under Windows XP that is used to map IP addresses to a custom list of hosts or maybe domain names. The IP address should be placed in one line. The first column should contain the IP address and on the second column its corresponding hostname. The IP address may be separated by a space or by a tab. You can place comments by prepending your line this symbol '#' (pound sign). Initially the first line is added. Now lets add our domain tildemark.com<br /><br /><code>
127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; localhost<br />127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www.tildemark.com<br />127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tildemark.com<br />
</code>
<br />you can check your work by doing a ping to your configured host.<br /><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="pinging-tildemark.com.jpg" src="http://www.tildemark.com/images/pinging-tildemark.com.jpg" class="mt-image-none" style="" width="489" height="179" /></span>&nbsp;<br /><br /><b>Configuring XAMPP to accecpt Virtual Hosts</b><br /><ol><li>Got to your Apache folder in XAMPP and locate the conf files. The are usually located at <code>&lt;&lt;local path&gt;&gt;\xampp\apache\conf\extra</code></li><li>
Open the file named httpd-vhosts.conf with a text editor</li><li>If posible read the instructions so may have the idea on what you are doing</li><li>Now paste the following code at the bottom of the file without touching the document.<code></code><br /><br /><code>NameVirtualHost 127.0.0.1:80<br />&lt;VirtualHost 127.0.0.1:80&gt;<br />&nbsp; DocumentRoot E:/xampp/htdocs/&nbsp;&nbsp;&nbsp; # change this line with your htdocs folder<br />&nbsp; ServerName localhost<br />&lt;/VirtualHost&gt;<br /><br /></code></li><li>Edit the line DocumentRoot with your own document root folder</li><li>For each domain you are to configure paste the following lines below, just replace my domain name your corresponding domain:</li></ol>




<code>
&lt;VirtualHost www.tildemark.com&gt;<br />&nbsp; DocumentRoot "E:\www\www.tildemark.com"<br />&nbsp; ServerName www.tildemark.com<br />&nbsp; ServerAlias www.tildemark.com<br /><br />&nbsp; CustomLog "E:\www\www.tildemark.com\www.tildemark.com-access_log" combined<br />&nbsp; ErrorLog "E:\www\www.tildemark.com\www.tildemark.com-error_log"<br /><br />&nbsp; &lt;Directory "E:\www\www.tildemark.com"&gt;<br />&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks<br />&nbsp;&nbsp;&nbsp; AllowOverride All<br />&nbsp;&nbsp;&nbsp; Order allow,deny<br />&nbsp;&nbsp;&nbsp; Allow from all<br />&nbsp; &lt;/Directory&gt;<br />&lt;/VirtualHost&gt;</code><br /><br /><div><br /></div>]]></description>
            <link>http://www.tildemark.com/software/servers/setting-up-virtual-hosts-with-xampp-running-on-windows-xp.html</link>
            <guid>http://www.tildemark.com/software/servers/setting-up-virtual-hosts-with-xampp-running-on-windows-xp.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Servers</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">apache</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">windows xp</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">xampp</category>
            
            <pubDate>Wed, 30 Jul 2008 10:58:47 +0800</pubDate>
        </item>
        
        <item>
            <title>Could not bind to address error with XAMPP or Apache</title>
            <description><![CDATA[<p>i kept on forgetting this until i reinstalled xampp. i keep receiving this error, and i am sure IIS was not installed with my windows xp installation. </p>

<p>Installing Apache2.2 as an Service<br />
Installing the Apache2.2 service<br />
The Apache2.2 service is successfully installed.<br />
Testing httpd.conf....<br />
Errors reported here must be corrected before the service can be started.<br />
(OS 10048)Only one usage of each socket address (protocol/network address/port)<br />
is normally permitted.  : make_sock: could not bind to address 0.0.0.0:80<br />
no listening sockets available, shutting down<br />
Unable to open logs<br />
Now we Start Apache2.2 :)<br />
The Apache2.2 service is starting.<br />
The Apache2.2 service could not be started.</p>

<p>A service specific error occurred: 1.</p>

<p>More help is available by typing NET HELPMSG 3547.</p>

<p>Its making me insane @#$^#. And then somebody sent me a message from Skype !!!! There it goes, i remembered, Skype is using port 80, and I dont know why. Closed Skype, runned the installed again and viola! It works.</p>]]></description>
            <link>http://www.tildemark.com/software/servers/could-not-bind-to-address-error-with-xampp-or-apache.html</link>
            <guid>http://www.tildemark.com/software/servers/could-not-bind-to-address-error-with-xampp-or-apache.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Servers</category>
            
            
            <pubDate>Thu, 06 Dec 2007 15:23:49 +0800</pubDate>
        </item>
        
        <item>
            <title>Enable htaccess on Apache</title>
            <description><![CDATA[<p>.htaccess files allows us to change configurations on our servers per directory or subdirectory. we may enable htaccess files by editing our httpd.conf rewmoving the comment on line from </p>

<p>;LoadModule rewrite_module modules/mod_rewrite.so</p>

<p>to </p>

<p>LoadModule rewrite_module modules/mod_rewrite.so</p>

<p>we need to change the AllowOverride directive also from </p>

<p>&lt;Directory /&gt;<br />
    Options FollowSymLinks<br />
    AllowOverride None<br />
    Order deny,allow<br />
    Deny from all<br />
    Satisfy all<br />
&lt;/Directory&gt;</p>

<p>to </p>

<p>&lt;Directory /&gt;<br />
    Options FollowSymLinks<br />
    AllowOverride All<br />
    Order deny,allow<br />
    Deny from all<br />
    Satisfy all<br />
&lt;/Directory&gt;</p>

<p>You can also rename your .htaccess file by adding the line below on you httpd.conf file</p>

<p>AccessFileName [filename]</p>

<p>example: AccessFileName .configuration<br />
<br /><br />
<br /><br />
<p />-----<br />
<a href="http://www.testking.com/70-648.htm">70-648</a> certified people seem more valuable to employers and businesses.  Online businesses need experts with <a href="http://www.testking.com/642-552.htm">642-552</a> certifications. Cisco <a href="http://www.testking.com/642-892.htm">642-892</a> exam addresses Demand for networking skilled people in the Telecommunications Market. <a href="http://www.testking.com/650-621.htm">650-621</a> validates your practical experience and helps you earn more from your existing jobs. Oracle's market share in the database market creates a demand for <a href="http://www.testking.com/1z0-042.htm">1z0-042</a> certified individuals even in small businesses.</p>]]></description>
            <link>http://www.tildemark.com/software/servers/enable-htaccess-on-apache.html</link>
            <guid>http://www.tildemark.com/software/servers/enable-htaccess-on-apache.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Servers</category>
            
            
            <pubDate>Wed, 28 Feb 2007 11:06:41 +0800</pubDate>
        </item>
        
        <item>
            <title>No installed service named Apache2</title>
            <description><![CDATA[<p>If you came across to this error while installing apache2, well, heres the fix. </p>

<p>Goto your apache installation folder its usually at:<br />
<div class="module-code"></p>

<p>C:\Program Files\Apache Group\Apache2\bin<br />
</div></p>

<p>Execute this command: <br />
<div class="module-code"></p>

<p>Apache.exe -k install -n "Apache2"<br />
</div></p>

<p>-k install -- tells apache to install an Apache service<br />
-n "Apache2" -- sets its service name to be Apache2<br />
-k start -- Start Apache server<br />
-k restart -- Tells Apache to do a restart</p>

<p>You can then test your installation by typing in <strong>http://localhost/</strong> to your browser address bar.</p>]]></description>
            <link>http://www.tildemark.com/internet/no-installed-service-named-apache2.html</link>
            <guid>http://www.tildemark.com/internet/no-installed-service-named-apache2.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Internet</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Servers</category>
            
            
            <pubDate>Mon, 02 Oct 2006 05:55:57 +0800</pubDate>
        </item>
        
        <item>
            <title>XAMPP All-in-one-webserver</title>
            <description><![CDATA[<p>XAMPP is a web development tool containing the essential applications in rapidly deploying web applications. XAMPP contains thew following:<br />
1) <a href="http://www.apache.org/">Apache HTTP Server</a>, <br />
2) <a href="http://www.mysql.com/">MySQL Database Server</a><br />
3) <a href="http://www.proftpd.org/">ProFTPD Server</a><br />
4) <a href="http://www.php.net/">PHP</a><br />
5) <a href="http://www.perl.org/">Perl</a><br />
6) <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a><br />
7) <a href="http://www.openssl.org/">OpenSSL</a></p>

<p><img alt="Xampp logo" src="http://www.tildemark.com/images/Xampplogo.png" width="200" height="59" /></p>

<p>Initially XAMPP stands for X-, A-pache, M-ySQL, P-HP, P-erl. XAMPP may be installed on most of the operating systems namely, Linux, Windows, Mac OS X and Sun Solaris. In Linux XAMPP is called LAMPP but to avoid the misconception it was renamed to XAMPP for Linux. The main feature of XAMPP is its one click server deploy and the easy PHP version switch. XAMPP was initially intended as a web developer tool so it is designed to be free from all restrictions. However, there are ways to secure XAMPP if you are planning to use it in a production environment.</p>

<p>A number of packages are also bundled with XAMPP. <br />
Graphics: <em>libjpeg, libpng, GD, ncurses</em><br />
Database: <em>SQLite, gdbm, FreeTDS</em><br />
PHP: <em>Pear, ezpdf, TURCK</em><br />
XML: <em>xpat, libxml, salbotron</em><br />
Generic: <em>mod_perl, zlib, IMAP, Ming, mcrypt, gettext, freetype2</em></p>

<p>The latest version of XAMPP may downloaded from its <a href="http://www.apachefriends.org/en/xampp.html">website.</a> </p>

<p>XAMPP Download:<br />
<code><a href="http://www.apachefriends.org/en/xampp-linux.html">Linux</a><br />
<a href="http://www.apachefriends.org/en/xampp-windows.html">Windows</a><br />
<a href="http://www.apachefriends.org/en/xampp-macosx.html">Mac OS X</a><br />
<a href="http://www.apachefriends.org/en/xampp-solaris.html">Solaris</a><br />
</code><br />
You may choose which installer to download the easiest is the .exe. if you have downloaded the tar ball you may use the command to install: <br />
<code><br />
tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt<br />
</code><br />
by default in linux XAMPP is located at:<br />
<code>/opt/lampp<br />
</code><br />
to start XAMPP you may issue the command:<br />
<code>./lampp start <br />
</code><br />
to stop XAMPP you may issue the command<br />
<code>./lampp stop<br />
</code><br />
check your XAMPP installation by typing the following on your web browsers address bar: <br />
<code>http://localhost/<br />
</code><br />
other more specific commands:<br />
Start commands<br />
<code>/opt/lampp/lampp startapache<br />
/opt/lampp/lampp startmysql<br />
/opt/lampp/lampp startftp<br />
</code><br />
Stop commands<br />
<code>/opt/lampp/lampp stopapache<br />
/opt/lampp/lampp stopmysql<br />
/opt/lampp/lampp stopftp<br />
</code><br />
Switch PHP versions<br />
<code>/opt/lampp/lampp php4<br />
/opt/lampp/lampp php5<br />
</code></p>

<p>To uninstall XAMPP<br />
<code>rm -rf /opt/lampp <br />
</code></p>

<p>There would be no problem in Windows for there is an administration tool for running server applications in XAMPP. It usually located at:</p>

<p><em>Start -> All Programs -> apachefriends -> xampp -> </em></p>]]></description>
            <link>http://www.tildemark.com/software/servers/xampp-allinonewebserver.html</link>
            <guid>http://www.tildemark.com/software/servers/xampp-allinonewebserver.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Servers</category>
            
            
            <pubDate>Tue, 22 Aug 2006 23:28:08 +0800</pubDate>
        </item>
        
    </channel>
</rss>






