Files
WebODF/javascriptzip/lighttpd.conf
T

26 lines
682 B
Plaintext

# use with 'lighttpd -f lighttpd.conf -D'
server.document-root = "../../.."
server.port = 3000
mimetype.assign = (
".html" => "text/html",
".txt" => "text/plain",
".jpg" => "image/jpeg",
".png" => "image/png"
)
server.modules += ( "mod_webdav", "mod_cgi" )
$HTTP["url"] =~ "^/odfkit/odfkit/javascriptzip($|/)" {
webdav.activate = "enable"
webdav.is-readonly = "disable"
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/var/www/web1/passwd.dav"
auth.require = ( "" => ( "method" => "basic",
"realm" => "webdav",
"require" => "valid-user" ) )
cgi.assign = ( "pl" => "/usr/bin/perl" )
}