I wasted many hours to find, how to redirect all requests to index.php.
I mean: site.com/some-url?param&1
will become
site.com/index.php and $_SERVER[REQUEST_URI] === some-url?param&1
I've one hip hop archive (based on Nette Framework) and one virtualhost (one hiphop isntance proxied from Nginx).
Edit: Alternative question can be: how to setup nginx to modify REQUEST_URI field sent to PHP over FastCGI?