Created
December 16, 2013 10:00
-
-
Save Majkl578/7984710 to your computer and use it in GitHub Desktop.
Nette config for HHVM
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
Server { | |
Port = 8888 | |
SourceRoot = /www/nette-app/www | |
DefaultDocument = index.php | |
} | |
VirtualHost { | |
* { | |
Pattern = .* | |
ServerVariables { | |
PHP_SELF = /index.php | |
SCRIPT_NAME = /index.php | |
} | |
RewriteRules { | |
index { | |
pattern = ^(.*)$ | |
to = index.php | |
qsa = true | |
} | |
} | |
} | |
} |
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
$ hhvm -m server -c nette.hdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment