Last active
September 30, 2025 01:17
-
-
Save jesseobrien/8199294 to your computer and use it in GitHub Desktop.
HHVM Server
This file contains hidden or 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 = 8080 | |
| SourceRoot = /path/to/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
Server {
Port = 8080
SourceRoot = /path/to/public
}
VirtualHost {
{
Pattern = .*
RewriteRules {
pattern = .?
app bootstrap
}
}
}
}
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
}
}