Author Archives: Gene

Configuring Apache Wildcard Virtualhost on OS X 10.11 El Capitan

Introduction: This is the second part of a series on BAMP. In this part we will configure Apache using a wildcard virtual host and explore virtual document root. This tutorial was made using OS X 10.11.3 El Capitan with Apache 2.4. My text editor of choice is TextMate and it’s command line utility is mate. So when you see […]

A Smarter MAMP Redux…

Preface: A number of years back I was introduced to BIND by an article titled A Smarter MAMP. In the following tutorials I’ll try and pay the favor forward to those who have yet to discover the awesomeness of running a local DNS server on top of a typical AMP (Apache MySQL PHP) stack. BIND isn’t the only option. If […]

Xcode breaks ability to compile Apache modules.

Recently when trying to install a mod_bonjour module for Apache I encountered the following error: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/cc: No such file or directory It appeared that Xcode was missing a symbolic link. Here’s how to resolve the error:

Compiling Mod_Bonjour on OS X 10.11 El Capitan

Introduction Remember the good old days when  OS X ‘s Apache came with mod_bonjour and user sites were broadcast automagically. It can be a useful feature especially in a multiuser or lab setting. Well never fear, you can activate it once again. All you need to do is compile and install mod_bonjour for Apache on El […]

How to work with System Integrity Protection in El Capitan

Introduction: OS X 10.11 El Capitan introduced a security feature called System Integrity Protection or SIP. It flags certain system directories and files as “Restricted” and they cannot be altered not even using the root account. Directories that are jailed by SIP /bin /sbin /usr /System Directories that allow root access for developers /usr/local /Applications /Library ~/Library […]

Installing Xcode

If you’re gonna develop on a mac you’ll want to get started by downloading and installing Apple’s developer app Xcode. This will allow you to install nifty command line tools like ruby and git among others. So go ahead and download Xcode via developer.apple.com. Once you’ve installed Xcode, you can install the line tools by opening […]

OS X Finder Visibility

There are times when navigating the filesystem of a Mac that the Finder comes in handy. Like being able to drag and drop files and folders into Terminal and have the path automagically appear instead to having to type the whole thing. Unfortunately by default, much of the OS is hidden but there are ways […]