Skip to content

Instantly share code, notes, and snippets.

@riaf
Created November 8, 2013 03:39
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 riaf/7365941 to your computer and use it in GitHub Desktop.
Save riaf/7365941 to your computer and use it in GitHub Desktop.
HHVM on Heroku for Symfony (or Silex) Application
Server {
SourceRoot = /app/web
DefaultDocument = index_dev.php
}
VirtualHost {
* {
Pattern = .*
RewriteRules {
* {
pattern = ^(.*)$
to = index_dev.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