Skip to content

Instantly share code, notes, and snippets.

View b00gizm's full-sized avatar
💭
I may be slow to respond.

Pascal Cremer b00gizm

💭
I may be slow to respond.
View GitHub Profile
@b00gizm
b00gizm / config.ru
Created September 10, 2012 10:14 — forked from marzocchi/config.ru
Run Symfony2 apps with Rack (rackup! pow!)
# vim:se filetype=ruby
# vim:se foldlevel=3
#
# Hacks and monkeys to run Symfony2 applications as Rack apps using
# the rack-legacy and rack-rewrite gems.
#
# A couple of rack-rewrite rules take care of handing requests to the
# default front controller (app.php) and a subclass of rack-legacy's
# Php fixes PATH_INFO for Symfony routing.
#