playground-miniflake/lighttpd.conf

23 lines
509 B
Plaintext

server.document-root = "/var/www"
server.modules += ("mod_rewrite")
url.rewrite-once = ("^[^\?]*(\?.*)?$" => "/index.php$1")
server.port = 80
server.username = "lighttpd"
server.groupname = "lighttpd"
mimetype.assign = (
".html" => "text/html",
".htm" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)
include "mod_fastcgi.conf"
static-file.exclude-extensions = (".fcgi", ".php", ".rb", "~", ".inc")
index-file.names = ("index.html", "index.htm", "index.php")