Skip to content

Instantly share code, notes, and snippets.

@betawax
Created January 9, 2014 07:45
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save betawax/8330785 to your computer and use it in GitHub Desktop.
Save betawax/8330785 to your computer and use it in GitHub Desktop.
Laravel HHVM config
Server {
Port = 8080
SourceRoot = /var/www/foobar/public/
}
VirtualHost {
* {
Pattern = .*
RewriteRules {
* {
pattern = .?
to = index.php
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