diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-06-02 14:35:43 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-06-02 18:25:03 +0200 |
commit | bc15ec0b72e13883035112f522b4153e49ecd4ac (patch) | |
tree | 6e9b28ac4dc8a89f2e3b9bf726bdd6c54d893259 /lighttpd | |
parent | 52b669d1c4654a9e2f5a45f62cea5a2fe79ea83a (diff) | |
download | json-dbus-bridge-examples-bc15ec0b72e13883035112f522b4153e49ecd4ac.tar.gz json-dbus-bridge-examples-bc15ec0b72e13883035112f522b4153e49ecd4ac.tar.xz |
[lighttpd] add lighttpd.conf.in
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'lighttpd')
-rw-r--r-- | lighttpd/lighttpd.conf.in | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lighttpd/lighttpd.conf.in b/lighttpd/lighttpd.conf.in new file mode 100644 index 0000000..15a29e0 --- /dev/null +++ b/lighttpd/lighttpd.conf.in @@ -0,0 +1,37 @@ +server.document-root = "@abs_srcdir@" + +server.port = 8080 +server.bind = "localhost" +server.tag = "lighttpd" + +server.errorlog = "@abs_builddir@/error.log" + +server.modules = ( + "mod_fastcgi", +) + +# mimetype mapping +mimetype.assign = ( + ".gif" => "image/gif", + ".jpg" => "image/jpeg", + ".jpeg" => "image/jpeg", + ".png" => "image/png", + ".css" => "text/css", + ".html" => "text/html", + ".htm" => "text/html", + ".js" => "text/javascript", + ".xml" => "text/xml", +) + +index-file.names = ( "index.html" ) + +fastcgi.server = ( + "/rpc" => (( + "bin-path" => "@json_dbus_bridge@", + "socket" => "@abs_builddir@/json-dbus-bridge.socket", + "check-local" => "disable", + "mode" => "responder", + "max-procs" => 1, + )), +) + |