I create a file like this example.ini
:
hhvm.server.type = proxygen
hhvm.server.default_document = index.php
hhvm.virtual_host[default][rewrite_rules][common][pattern] = "(.*)"
hhvm.virtual_host[default][rewrite_rules][common][to] = "index.php/$1"
hhvm.virtual_host[default][rewrite_rules][common][qsa] = true
And calling in terminal:
$ hhvm -m server -p 9000 -d hhvm.server.source_root=/home/user/project -c example.ini
It's work fine, However I can still browse existing files that are in the same folder as the project, but what I would like is that all requests should be sent to "index.php", how can I do this?