<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>hypeway</title>
	<atom:link href="http://hypeway.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://hypeway.com</link>
	<description>A systematic collection of random thoughts</description>
	<pubDate>Wed, 17 Jun 2009 08:35:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Fall of Microsoft Money</title>
		<link>http://hypeway.com/?p=114</link>
		<comments>http://hypeway.com/?p=114#comments</comments>
		<pubDate>Wed, 17 Jun 2009 08:35:31 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Finance]]></category>

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

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

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

		<category><![CDATA[ms money]]></category>

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

		<guid isPermaLink="false">http://hypeway.com/?p=114</guid>
		<description><![CDATA[Microsoft announced its plan to discontinue MS Money, a long-time rivalry to Intuit&#8217;s Quicken personal finance software. It&#8217;s a little shocking for me to learn the news, since I used to be a MS Money user for a few years. Despite the fact that I had used for Quicken for a long time before I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/en/us/default.aspx">Microsoft</a> announced its plan to discontinue <a href="http://www.microsoft.com/money/default.mspx">MS Money</a>, a long-time rivalry to <a href="http://www.intuit.com/">Intuit</a>&#8217;s <a href="http://quicken.intuit.com/">Quicken</a> personal finance software. It&#8217;s a little shocking for me to learn the news, since I used to be a MS Money user for a few years. Despite the fact that I had used for Quicken for a long time before I switched to MS Money, I thought MS Money was pretty solid and it&#8217;s been keeping Intuit on its toes.</p>
<p>Various articles by <a href="http://news.cnet.com/8301-13860_3-10261742-56.html">CNET</a> and <a href="http://www.bloggingstocks.com/2009/06/10/say-goodbye-to-microsoft-money/">bloggingstocks.com</a> point out that the discontinuation of MS Money comes as a result of cost cutting and growing competition from Quicken, as well as Internet-based <a href="http://www.mint.com/">Mint.com</a> and <a href="http://www.wesabe.com/">Wesabe</a>.</p>
<p>The problem I am seeing is that Microsoft tends to get itself into a game of competing with the leaders instead of being the leader when it comes to innovation. Remember the Web browser war between Netscape Navigator and Internet Explorer? The search engine race against <a href="http://www.google.com/">Google</a>? The video game console, personal music player, personal finance software, and the list goes on and on. I won&#8217;t miss MS Money, since I&#8217;ve already switched back to Quicken a while back and have used Mint.com for quite some time. Will the Microsoft <a href="http://www.zune.net/en-US/default.htm">Zune</a> end up like MS Money eventually? Only time will tell.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=114</wfw:commentRss>
		</item>
		<item>
		<title>About Opera Unite</title>
		<link>http://hypeway.com/?p=111</link>
		<comments>http://hypeway.com/?p=111#comments</comments>
		<pubDate>Wed, 17 Jun 2009 07:08:09 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Browser]]></category>

		<category><![CDATA[File Sharing]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Social Network]]></category>

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

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

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

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

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

		<category><![CDATA[opera unite]]></category>

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

		<guid isPermaLink="false">http://hypeway.com/?p=111</guid>
		<description><![CDATA[The release of Opera Unite is making a lot of people talking about it. Its main selling point is the embedded Web Server in the Opera&#8217;s browser that allows users to share their local media files with friends over the Web. Hats off to the Opera dev team for reinventing the Web browser and making [...]]]></description>
			<content:encoded><![CDATA[<p>The release of <a href="http://unite.opera.com/">Opera Unite</a> is making <a href="http://twitter.com/#search?q=opera%20unite">a lot of people talking about it</a>. Its main selling point is the embedded Web Server in the <a href="http://www.opera.com/browser/">Opera&#8217;s browser</a> that allows users to share their local media files with friends over the Web. Hats off to the Opera dev team for reinventing the Web browser and making it more than a Web browser.</p>
<p>However, Opera Unite doesn&#8217;t really make me want to switch to using Opera browser for privacy, bandwidth, and security reasons. More importantly, all the services of Opera Unite are already available in <a href="http://www.facebook.com/">Facebook</a>, and I am happy to use Facebook to share my notes and photos just like most of my friends do. Lastly, (a bit of bias) I really like <a href="http://www.apple.com/safari/">Safari</a> on the Mac. It is simple, yet it runs and loads Web pages really fast in comparison to <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a>, <a href="http://www.flock.com/">Flock</a>, and <a href="http://www.opera.com/">Opera</a>.</p>
<p>Here is a great <a href="http://factoryjoe.com/blog/2009/06/16/thoughts-on-opera-unite/">article on Opera Unite</a> for those who want to learn more about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=111</wfw:commentRss>
		</item>
		<item>
		<title>Preparing For PHP 5 Certification Exam</title>
		<link>http://hypeway.com/?p=107</link>
		<comments>http://hypeway.com/?p=107#comments</comments>
		<pubDate>Tue, 16 Jun 2009 03:10:36 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Open Source]]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=107</guid>
		<description><![CDATA[Aside from being a robust open source server-side scripting language, PHP is easy to learn and master even for someone like myself without a CS degree or background. The combination of PHP, MySQL, and Apache has become a welcome solution to many Web applications deployed by numerous entrepreneurial businesses, non-profit organizations, company intranets, and online [...]]]></description>
			<content:encoded><![CDATA[<p>Aside from being a robust open source server-side scripting language, <a href="http://php.net/">PHP</a> is easy to learn and master even for someone like myself without a CS degree or background. The combination of PHP, <a href="http://www.mysql.com">MySQL</a>, and <a href="http://httpd.apache.org/">Apache</a> has become a welcome solution to many Web applications deployed by numerous entrepreneurial businesses, non-profit organizations, company intranets, and online e-commerce stores. It&#8217;s been more than 6 years since I started using PHP in Web design projects. And during these years, PHP has gone through lots of improvements and its latest stable version (<a href="http://www.php.net/ChangeLog-5.php">5.2</a>) packs numerous changes and new features making this scripting language even more robust. So I&#8217;ve decided to update my knowledge in PHP, and while I am at it, I will obtain a PHP 5 Certification offered by <a href="http://www.zend.com/en/">Zend</a> so my PHP skills can be officially recognized. In the process of studying for the exam, I&#8217;ve learned many new features in PHP 5 as well as other PHP knowledge that I wasn&#8217;t aware of previously. I am happy that the preparation process has been progressing nicely, and I am expecting to complete the study and pass the exam by the end of the month. Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=107</wfw:commentRss>
		</item>
		<item>
		<title>Cocoaheads WWDC 2009</title>
		<link>http://hypeway.com/?p=102</link>
		<comments>http://hypeway.com/?p=102#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:36:37 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Apple]]></category>

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

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

		<category><![CDATA[Open Source]]></category>

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

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

		<category><![CDATA[280 north]]></category>

		<category><![CDATA[280 slides]]></category>

		<category><![CDATA[almost.at]]></category>

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

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

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

		<category><![CDATA[objective-c]]></category>

		<category><![CDATA[objective-j]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=102</guid>
		<description><![CDATA[Last night I attended the Cocoaheads WWDC 2009 meeting for the first time at the Apple Store in San Francisco downtown. I had the pleasure to meet some awesome Mac and iPhone developers, and listen to their fantastic presentations on how to become successful Mac and iPhone developers. The ideas and experience the guest speakers [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I attended the <a href="http://theocacao.com/document.page/606">Cocoaheads WWDC 2009</a> meeting for the first time at the Apple Store in San Francisco downtown. I had the pleasure to meet some awesome Mac and iPhone developers, and listen to their fantastic presentations on how to become successful Mac and iPhone developers. The ideas and experience the guest speakers shared with the audience were just incredibly insightful and useful. This is by far the best users group meeting I&#8217;ve ever attended.</p>
<p>One of my favorite developers on the guest speaker list is <a href="http://www.madebysofa.com/">Sofa</a>, who developed <a href="http://www.versionsapp.com/">Versions</a> (which just won the Apple Design Awards) and <a href="http://www.checkoutapp.com/">Checkout</a>. The Amsterdam design firm also created gorgeous icons for companies such as Mozilla, TomTom, and Nike. Another one of my favorite developers is <a href="http://280north.com/index.php">280 North</a>, who developed <a href="http://280slides.com/">280 Sildes</a>, a sexy Web-based presentation application equivalent to Keynote on the Mac. The development team of 280 North also created an open source framework, named <a href="http://objective-j.org/">Cappuccino</a>, which aims to make it easy to build desktop-like applications for Web browsers. The framework, written in Objective-J (also developed by 280 North), is largely based upon Apple&#8217;s Objective-C and Cocoa frameworks. Even Cappuccino&#8217;s IDE, named <a href="http://280atlas.com/">Atlas</a>, feels and operates like Apple&#8217;s Xcode.</p>
<p><a href="http://almost.at/">Almost.at</a>, a real-time event feeds application built using Cappuccino, is another impressive product demonstrating how developers can harness the power of Objective-J to build desktop-caliber applications that run in Web browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=102</wfw:commentRss>
		</item>
		<item>
		<title>Free Stanford Course on iPhone Application Programming</title>
		<link>http://hypeway.com/?p=100</link>
		<comments>http://hypeway.com/?p=100#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:41:04 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Apple]]></category>

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

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=100</guid>
		<description><![CDATA[Stanford University is offering a 10-week course on developing iPhone applications. Not only that the videos of the classes are posted at Stanford on iTunes U, the course materials, including lecture notes and assignments, are all made available online to the general public for free. Thanks to Stanford&#8217;s generosity and interest in the iPhone application [...]]]></description>
			<content:encoded><![CDATA[<p>Stanford University is offering a 10-week course on developing iPhone applications. Not only that the videos of the classes are posted at Stanford on iTunes U, the course materials, including lecture notes and assignments, are all made <a href="http://www.stanford.edu/class/cs193p/cgi-bin/index.php">available online to the general public for free</a>. Thanks to Stanford&#8217;s generosity and interest in the iPhone application development, I&#8217;ve downloaded all the class materials and I am ready to create my own iPhone app.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=100</wfw:commentRss>
		</item>
		<item>
		<title>A Blueprint for CSS</title>
		<link>http://hypeway.com/?p=73</link>
		<comments>http://hypeway.com/?p=73#comments</comments>
		<pubDate>Thu, 02 Apr 2009 18:36:35 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Browser]]></category>

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

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=73</guid>
		<description><![CDATA[Dealing with the differences in CSS implementation by various Browsers is a pain in the neck. So, I&#8217;ve become a big fan of utilizing CSS framework to neutralize these differences and to have a standardized foundation to start with any client-side design.
One of the CSS frameworks I&#8217;ve been using is YUI&#8217;s CSS Reset, CSS Fonts, [...]]]></description>
			<content:encoded><![CDATA[<p>Dealing with the differences in CSS implementation by various Browsers is a pain in the neck. So, I&#8217;ve become a big fan of utilizing CSS framework to neutralize these differences and to have a standardized foundation to start with any client-side design.</p>
<p>One of the CSS frameworks I&#8217;ve been using is YUI&#8217;s <a href="http://developer.yahoo.com/yui/3/cssreset/">CSS Reset</a>, <a href="http://developer.yahoo.com/yui/3/cssfonts/">CSS Fonts</a>, and <a href="http://developer.yahoo.com/yui/3/cssgrids/">CSS Grids</a>. Recently I came across <a href="http://www.blueprintcss.org/">Blueprint CSS</a>, another CSS framework that tries to differ itself from the developer-oriented YUI CSS framework by putting an emphasis on the needs of typographic design.</p>
<p>The interesting thing is how these two frameworks are being <a href="http://foohack.com/2007/08/blueprint-css-framework-vs-yui-grids/">compared to each other</a>. In my experience as a client-side designer, I am always looking for better ways to solve the same development problems quicker and easier. And Blueprint CSS framework appears to meet my needs well.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=73</wfw:commentRss>
		</item>
		<item>
		<title>I am twittering</title>
		<link>http://hypeway.com/?p=47</link>
		<comments>http://hypeway.com/?p=47#comments</comments>
		<pubDate>Tue, 31 Mar 2009 17:32:54 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

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

		<guid isPermaLink="false">http://hypeway.com/?p=47</guid>
		<description><![CDATA[Finally signed up with Twitter after 2 years of hearing about it. For those who are interested in what I am doing, check it out at http://twitter.com/hypeway.
]]></description>
			<content:encoded><![CDATA[<p>Finally signed up with Twitter after 2 years of hearing about it. For those who are interested in what I am doing, check it out at http://twitter.com/hypeway.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=47</wfw:commentRss>
		</item>
		<item>
		<title>Firefox CSS Hack</title>
		<link>http://hypeway.com/?p=39</link>
		<comments>http://hypeway.com/?p=39#comments</comments>
		<pubDate>Fri, 27 Mar 2009 18:59:22 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Browser]]></category>

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

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=39</guid>
		<description><![CDATA[I usually find CSS behaving quite consistent between Firefox and Safari. But today I ran into a situation where a CSS hack or filter is needed in Firefox. I found this useful snippet of CSS working perfectly for my purpose.

blockquote, x:-moz-any-link { /* FireFox 2 hack */
  padding-top: 5px;
} 

blockquote, x:-moz-any-link, x:default { /* [...]]]></description>
			<content:encoded><![CDATA[<p>I usually find CSS behaving quite consistent between Firefox and Safari. But today I ran into a situation where a CSS hack or filter is needed in Firefox. I found this useful snippet of CSS working perfectly for my purpose.</p>
<pre>
blockquote, x:-moz-any-link { /* FireFox 2 hack */
  padding-top: 5px;
} 

blockquote, x:-moz-any-link, x:default { /* FireFox 3 hack */
  padding-top: 5px;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=39</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading to WordPress 2.7.1</title>
		<link>http://hypeway.com/?p=34</link>
		<comments>http://hypeway.com/?p=34#comments</comments>
		<pubDate>Thu, 26 Mar 2009 22:30:03 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=34</guid>
		<description><![CDATA[It&#8217;s been a while since I installed WordPress manually on my Web hosting server last time. So I decide to upgrade my WordPress to the latest release. The process of upgrading was actually quite simple by following the instructions. Here are the step I took:

Download WordPress 2.7.1.
Back up my database via my hosting service provider&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I installed WordPress manually on my Web hosting server last time. So I decide to upgrade my WordPress to the latest release. The process of upgrading was actually quite simple by following the <a href="http://codex.wordpress.org/Upgrading_WordPress">instructions</a>. Here are the step I took:</p>
<ol>
<li><a href="http://wordpress.org/download/">Download WordPress 2.7.1</a>.</li>
<li>Back up my database via my hosting service provider&#8217;s database administration tools.</li>
<li>Back up all my existing WordPress files onto my local disk via FTP.</li>
<li>Upload and overwrite all WordPress files and sub folders with the new release, except the &#8220;wp-content&#8221; folder, which contains custom plugins and themes.</li>
<li>Go back to WordPress admin page (http://www.yourdomain.com/wordpress/wp-admin/) and upgrade the WordPress database (as simple as clicking on a link) as instructed.</li>
</ol>
<p>That was it! Now I got a spanking shiny new WordPress interface!</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
		<item>
		<title>Re-install default Apache Server on Leopard 10.5.6</title>
		<link>http://hypeway.com/?p=33</link>
		<comments>http://hypeway.com/?p=33#comments</comments>
		<pubDate>Thu, 26 Mar 2009 18:22:53 +0000</pubDate>
		<dc:creator>hypeway</dc:creator>
		
		<category><![CDATA[Apache]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://hypeway.com/?p=33</guid>
		<description><![CDATA[For some odd reasons, the built-in Apache Server can&#8217;t no longer be started after I ran the 10.5.6 system update. As a result, &#8220;http://localhost/&#8221; fails to connect to the server. When I run the &#8220;sudo apachectl configtest&#8221; command, I got the following message:

dyld: Symbol not found: _apr_socket_sendfile
 Referenced from: /usr/sbin/httpd
 Expected in: /usr/lib/libapr-1.0.dylib

/usr/sbin/apachectl: line 81: 58838 Trace/BPT [...]]]></description>
			<content:encoded><![CDATA[<p>For some odd reasons, the built-in Apache Server can&#8217;t no longer be started after I ran the 10.5.6 system update. As a result, &#8220;http://localhost/&#8221; fails to connect to the server. When I run the &#8220;sudo apachectl configtest&#8221; command, I got the following message:</p>
<pre>
dyld: Symbol not found: _apr_socket_sendfile
 Referenced from: /usr/sbin/httpd
 Expected in: /usr/lib/libapr-1.0.dylib

/usr/sbin/apachectl: line 81: 58838 Trace/BPT trap          $HTTPD -t
</pre>
<p>I did a good amount of searching on Google hoping to find related discussions on the same issue from other users, but I couldn&#8217;t find the right answers to my problem. This problem may or may not be related to my system setup, and trying to work with Apple to identify the cause can be time-consuming. I need the Apache Server to work now locally, and it becomes inevitable to re-install the default Apache Server on Leopard 10.5.6 as the quickest solution.</p>
<p>Thanks to the Internet and those generous code contributors, I find <a href="http://codesnippets.joyent.com/posts/show/2015">this very useful shell script from a CodeSnippets post</a> that allows me to quickly re-install the latest version of Apache Server without figuring out a lot of thing on my own. Due to its usefulness, I am including it in my post just so I always have it even if it becomes unavailable on CodeSnippets in the future. The credit of this code certainly goes to its original code contributor.</p>
<pre>
#!/bin/sh
# this re-installs the default apache server on leopard
# save code as filename.sh and give it permissions to run (see in code)
# run with ./apache_refresh.sh
# If permissions error do: chmod u+x filename.sh
# WARNING THIS MAY DELETE OR CHANGE YOUR APACHE SETTING SO BACKUP IF YOU HAVE ANYTHING YOU WANT TO SAVE

echo "*******************************   Starting Apache Server Refresh - Leopard"

#make a temp directory to work with, you can change this if you choose
echo "*******************************   Creating the source folder"
mkdir ~/Desktop/apache-temp
cd ~/Desktop/apache-temp

#get current apache version, update or change if necessary
echo "*******************************   Downloading Apache Server"
curl -O http://www.gtlib.gatech.edu/pub/apache/httpd/httpd-2.2.11.tar.gz

#if you change the apache version above be sure to change it here as well
echo "*******************************   Extracting Apache Server"
tar xzvf httpd-2.2.11.tar.gz
cd httpd-2.2.11

#you can change the default install paths, "Darwin" is the default leopard install, if you don't know what this means then don't change this!
echo "*******************************   Configuring Darwin Layout"
./configure --enable-layout=Darwin \
--enable-mods-shared=all \
--with-ssl=/usr \
--with-mpm=prefork \
--disable-unique-id \
--enable-ssl \
--enable-dav \
--enable-cache \
--enable-proxy \
--enable-logio \
--enable-deflate \
--with-included-apr \
--enable-cgi \
--enable-cgid \
--enable-suexec

#make the files
echo "*******************************   Compiling Apache Server"
make

#install the files
echo "*******************************   Installing Apache Server"
sudo make install

#backup hosts file
echo "*******************************   Backing up hosts file"
cd /private/etc
sudo cp hosts hosts.backup

#delete hosts file
echo "*******************************   Deleting Hosts File"
sudo rm hosts

echo "*******************************   Creating New Hosts File"
cd ~/Desktop/apache-temp
cat > hosts << EOF
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1	localhost
255.255.255.255	broadcasthost
::1             localhost
fe80::1%lo0	localhost
EOF

#move new hosts file to /etc dir
echo "*******************************   Moving Hosts Filer"
sudo mv ~/Desktop/apache-temp/hosts /etc

#set hosts file permissions
echo "*******************************   Setting Hosts File Permissions"
cd /private/etc
sudo chown root hosts

#backup httpd.conf file
echo "*******************************   Backing up httpd.conf File"
cd /private/etc/apache2
sudo cp httpd.conf httpd.conf.backup

#delete to httpd.conf file
echo "*******************************   Deleting httpd.conf File"
sudo rm httpd.conf

#copy httpd.conf file from originals folder
echo "*******************************   Copying New httpd.conf File"
cd original
sudo cp httpd.conf /private/etc/apache2/httpd.conf

#backup httpd-vhosts.conf file
echo "*******************************   Backing up httpd-vhosts.conf File"
cd /private/etc/apache2/extra
sudo cp httpd-vhosts.conf httpd-vhosts.conf.backup

#copy httpd-vhosts.conf file from originals extra folder
echo "*******************************   Copying New httpd-vhosts.conf File"
cd /private/etc/apache2/original/extra
sudo cp httpd-vhosts.conf /private/etc/apache2/extra/httpd-vhosts.conf

#remove the temp folder
echo "*******************************   Remove the temp folder"
rm -R ~/Desktop/apache-temp

echo "*******************************   Starting Apache Server"
sudo apachectl start

echo "*******************************   Done"
</pre>
<p>Notice the line &#8220;curl -O http://www.gtlib.gatech.edu/pub/apache/httpd/httpd-2.2.11.tar.gz&#8221; that specifies the download source. Change that to the most current version if necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://hypeway.com/?feed=rss2&amp;p=33</wfw:commentRss>
		</item>
	</channel>
</rss>
