Skip to content

Instantly share code, notes, and snippets.

@jazzdan
Last active June 24, 2022 14:40
Show Gist options
  • Save jazzdan/8262454 to your computer and use it in GitHub Desktop.
Save jazzdan/8262454 to your computer and use it in GitHub Desktop.

Revisions

  1. jazzdan revised this gist Jan 5, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion config.hdf
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    erver {
    Server {
    Port = 80
    SourceRoot = /Users/dan/hhvm-test/public/
    }
  2. jazzdan created this gist Jan 4, 2014.
    36 changes: 36 additions & 0 deletions config.hdf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    erver {
    Port = 80
    SourceRoot = /Users/dan/hhvm-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
    }
    }