diff --git a/konata.sh b/konata.sh index 5ebebfe..b6da230 100755 --- a/konata.sh +++ b/konata.sh @@ -1,8 +1,5 @@ #!/bin/bash -# Hard requirement for lighttpd -printf "Content-Type: text/plain\n\n" - # Initialize basic variables . /etc/konata.conf diff --git a/lighttpd.conf b/lighttpd.conf index eb375f0..21e3ce5 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -7,7 +7,6 @@ server.modules = ( "mod_accesslog" ) -include "mime-types.conf" include "mod_cgi.conf" server.username = "lighttpd" @@ -24,3 +23,4 @@ server.document-root = var.basedir errorlog.filename = var.logdir + "/error.log" accesslog.filename = var.logdir + "/access.log" cgi.assign = ( ".sh" => "/bin/bash" ) +mimetype.assign = ( ".sh" => "text/plain" )