Created
December 26, 2013 21:20
-
-
Save tsphethean/8138831 to your computer and use it in GitHub Desktop.
HHVM Drupal configuration
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 = 8000 | |
SourceRoot = /vagrant/public/drupal.vbox.local/www/ | |
} | |
Eval { | |
Jit = true | |
} | |
Log { | |
Level = Error | |
UseLogFile = true | |
File = /var/log/hhvm/error.log | |
Access { | |
* { | |
File = /var/log/hhvm/access.log | |
Format = %h %l %u %t \"%r\" %>s %b | |
} | |
} | |
} | |
VirtualHost { | |
* { | |
Pattern = .* | |
ServerVariables { | |
PHP_SELF = /index.php | |
SCRIPT_NAME = /index.php | |
} | |
RewriteRules { | |
index { | |
pattern = ^(.*)$ | |
to = index.php/$1 | |
qsa = true | |
} | |
} | |
} | |
} | |
StaticFile { | |
FilesMatch { | |
* { | |
pattern = .*\.(dll|exe) | |
headers { | |
* = Content-Disposition: attachment | |
} | |
} | |
} | |
Extensions { | |
css = text/css | |
gif = image/gif | |
html = text/html | |
jpe = image/jpeg | |
jpeg = image/jpeg | |
jpg = image/jpeg | |
png = image/png | |
tif = image/tiff | |
tiff = image/tiff | |
txt = text/plain | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment