Skip to content

Instantly share code, notes, and snippets.

@mattstauffer
Created December 31, 2013 16:40
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 mattstauffer/8199295 to your computer and use it in GitHub Desktop.
Save mattstauffer/8199295 to your computer and use it in GitHub Desktop.
Taylor Otwell's initial HHVM config for laravel ( https://twitter.com/taylorotwell/status/418057634378301440 )
Server {
Port = 8080
SourceRoot = /home/taylor/Test/public/
}
VirtualHost {
* {
Pattern = .*
RewriteRules {
* {
pattern = .?
# app bootstrap
to = index.php
# append the original query string
qsa = true
}
}
}
}
StaticFile {
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