'Projects' Archive

Passenger + Sinatra Tip: DocumentRoot is Always /public

I was getting 403 errors after deploying my newest Sinatra app with Passenger.

Turns out Passenger assumes and requires a /public folder.

This app is so tiny and new, it didn’t have one yet – so I was pointing Passenger at the app’s root. Resulting in the 403 errors.

Solution: Create an empty /public folder and restart Apache. Ta Da. Like magic.

If you’re still having issues – confirm your LoadModule passenger_module path is correct, mine looks like this:
opt/local/lib/ruby/gems/1.8/gems/passenger-2.2.7/ext/apache2/mod_passenger.so

After updating the Passenger gem to 2.2.7, my LoadModule path was way off, not helping the deployment troubleshooting efforts.

[Client] Rackspace’s NoMoreServers.com Launches

Cull.us: Branded URL Shortener with Google Analytics, CNAME, and .htaccess

RealTimeAds Out of Beta, Taking Paying Customers

Culld.Us – URL Shortening Reimagined

Kernest.com, @font-face Service – Now in Private Preview

RealTimeAds.com Launches at MinnPost.com

[Client] CagedTweets.com Launched

Secret Project 09Q02A

Publishers Shorten Yourself

Kernestly

RE07.US Update: Expiring URL & Widgets

Introducing: RE07.US – The Greenest URL Shortener

The New Project Setup Checklist

I started building up new project today, one of the 2 initial revenue generating

QSPress.rb – Quicksilver to WordPress in Ruby

iPhoto to WordPress Ruby Script

9 Things Cullect Taught Me About Software

How To Cache Highly Dynamic Data in Rails with Memcache – Part 1

Project Launch: Best Buy Forums