Coding

Quick Tip: Getting Apache Up and Running After Updating to OSX Mavericks (10.9)

Quick Tip

So you’ve taken the plunge and are now running the latest and greatest OSX Mavericks. You’ve hit one snag though. All of your local websites that you’ve built and run through apache are simply returning an “It Works!” page. Don’t Fret! When OSX updated itself, it updated it’s Apache install, essentially overwriting your /private/etc/apache2/httpd.conf file. However, before doing this, it created a backup of this file and named it https.conf.pre-update.

Simply pull up your favorite Diff tool (I really like DiffMerge from SourceGear), find the differences, and apply the changes. For me it simply meant re-enabling virtual hosts and PHP5. Restart apache when you’re done and you’re good to go!

Note: If you don’t have a httpd.conf.pre-update file, or it seems to not have the right values, check for a https.conf~previous file. I had one named that which included my homebrew modifications that were made.

Geekery

Soup to Nuts: Getting Your Android Emulator to Read Virtual Hosts on your Development Machine

ADV Results

So you’re setting up a new website, and need to test out your mobile functionality. Sadly you don’t have a development server in which you can push everything up to and test that way. Instead, you need to take the “localhost” route. In addition, you do a lot of web development, so you have your websites setup using virtual hosts in Apache. So to get your site, you type in something like “demopyrocms.localhost” to access your individual sites. Here’s a breakdown of what you need to do to get everything running smooth.
Continue reading “Soup to Nuts: Getting Your Android Emulator to Read Virtual Hosts on your Development Machine”