Skip to content

Instantly share code, notes, and snippets.

@amacgregor
Created August 9, 2013 20:54
Show Gist options
  • Save amacgregor/6197101 to your computer and use it in GitHub Desktop.
Save amacgregor/6197101 to your computer and use it in GitHub Desktop.
Server {
Port = 8080
SourceRoot = /srv/www/clean_ce_1702/public_html/
DefaultDocument = index.php
EnableStaticContentCache = 0
EnableStaticContentFromDisk = true
}
AdminServer {
Port = 8181
Password = admin
}
Eval {
Jit = 1
JitWarmupRequests=5
}
VirtualHost {
* {
Pattern = .*
RewriteRules {
dirindex {
pattern = ^/(.*)/$
to = $1/index.php
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