Added public folder and hack for nil header issue in passenger.