Tag Archive for osx

Mavericks Broke My Apache!

Note: Instead of doing everything below, you could just restore the backup of your httpd.conf that the Mavericks install created at /etc/apache2/httpd.conf~previous. Wish I knew that 8 hours ago.

Because I like shiny new things, I decided to upgrade to Mavericks (OS X 10.9) last night.  The upgrade finished around 1am, at which point I was tired, so I went to sleep.  I woke up this morning to start my day, only to realize that all of my Apache Virtual Hosts were throwing 403: Forbidden errors.  After a couple hours of chmod, chown, editing conf files and banging my head against the wall, I finally got it working.  So if this happened to you, hopefully the following steps will help.

View HTTP Headers in Chrome

I had to dig for this one.  Found a few references on the web, but either the location has moved since they were posted or the Windows version differs from the Mac version.  At any rate, to view the HTTP headers in Chrome on Mac do the following:

  1. Open a new tab in Chrome
  2. Hit Command-Option-i to bring up the Developer Tools (it’s important you do this before loading the page or the headers won’t be captured)
  3. Load the page you want to view headers for
  4. Switch to your Developer Tools and select Network from the row of buttons across the top
  5. Click the page you loaded on the left-hand side
  6. Click Headers in the new row of tabs underneath the top buttons

Clearing Chrome’s Offline Application Cache

It took me awhile to find this, so I figured I’d share (these instructions are for Mac – I’m assuming Windows is similar).

PreferencesUnder the HoodContent SettingsAll Cookies and Site Data… → Search for the site → Expand the site → Click Session StorageRemove

Additionally, you might have to clear the regular browser cache as well. I just had a stubborn file that wouldn’t grab the new version until I did this.

PreferencesUnder the HoodClear Browsing Data… → Select Obliterate the following items from: the beginning of time and check Empty the cacheClear Browsing Data

Force Quit (Kill) a Mac App

Mac LogoI’ve had an app (ok, it was a full-screen game) hang a few times on me lately, and it’s been quite annoying.  In the Windows world I’d simply hit Ctrl-Alt-Del wherein Task Manager would pop up and I’d kill the process.  This works nine times out of ten, even if the app is full screen and completely frozen.

Well, on OSX there’s a couple ways – and I’m documenting this more for myself than anything.

Tower 1.x

Tower LogoTower has left beta and is now available in 1.x form for purchase – and I did.  Really, I can’t imagine using anything else for Git repository management.  It’s awesome.  I have no affiliation, but I appreciate a nice piece of software.

Good job Tower team.