Skip to content

Instantly share code, notes, and snippets.

@jesseobrien
Last active September 30, 2025 01:17
Show Gist options
  • Select an option

  • Save jesseobrien/8199294 to your computer and use it in GitHub Desktop.

Select an option

Save jesseobrien/8199294 to your computer and use it in GitHub Desktop.
HHVM Server
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
}
}
@kimmy89jayanti-cell

Copy link
Copy Markdown

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
}
}

@kimmy89jayanti-cell

Copy link
Copy Markdown

Image/tifff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment