Skip to content

Instantly share code, notes, and snippets.

@ss23
Created February 7, 2014 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ss23/8857409 to your computer and use it in GitHub Desktop.
Save ss23/8857409 to your computer and use it in GitHub Desktop.
Server {
DefaultDocument = index.php
IniFile=/root/silverstripe-installer/php.ini
}
VirtualHost {
www {
Pattern = .*
Disabled = false
RewriteRules {
index {
pattern = (.*)
to = /framework/main.php?url=$1
qsa = true
}
}
}
}
DynamicExtensionPath = /root/hhvm-ext
DynamicExtensions {
* = pgsql.so
}
StaticFile {
Extensions {
bmp = image/bmp
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
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment