Created
January 9, 2012 23:14
-
-
Save magnusnordlander/1585551 to your computer and use it in GitHub Desktop.
Lighty Rewrite for Symfony2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you're having trouble creating a good rewrite for Symfony2 apps in Lighttpd, this seems to do the charm. It even works with query string parameters. | |
url.rewrite-if-not-file = ( | |
"^/(?!app_[dev|test]+\.php/)[^\?]*(\?.*)?$" => "/app.php$1" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment