facebook/hiphop-php — Issue #417: Rewriting all requests
Author: alecmocatta
Created: 2011-10-18 20:28:02+00:00
State: open

I'm trying to redirect all requests to 1 php file. My config is as below, and I cannot figure out why it isn't functioning as expected.
```
VirtualHost {
* {
Pattern = .*
RewriteRules {
* {
pattern = .*
to = dispatch.php
qsa = true
}
}
}
}
```

All I get is `HipHop Notice: File could not be loaded: randomuri` at the command line. Also, when requesting a URL ending in '/'. an endless loop is created with each redirect adding a '/', apart from when requesting a uri with only '/' in in which case it always redirects to '//'.