Annotation of embedaddon/lighttpd/tests/lowercase.conf, revision 1.1
1.1 ! misho 1: server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
! 2:
! 3: ## bind to port (default: 80)
! 4: server.port = 2048
! 5:
! 6: ## bind to localhost (default: all interfaces)
! 7: server.bind = "localhost"
! 8: server.errorlog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
! 9: server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
! 10:
! 11: server.force-lowercase-filenames = "enable"
! 12:
! 13: server.dir-listing = "enable"
! 14:
! 15: server.modules = (
! 16: "mod_rewrite",
! 17: "mod_setenv",
! 18: "mod_secdownload",
! 19: "mod_access",
! 20: "mod_auth",
! 21: "mod_status",
! 22: "mod_expire",
! 23: "mod_redirect",
! 24: "mod_fastcgi",
! 25: "mod_cgi" )
! 26:
! 27: server.indexfiles = ( "index.php", "index.html",
! 28: "index.htm", "default.htm" )
! 29:
! 30:
! 31: ######################## MODULE CONFIG ############################
! 32:
! 33: mimetype.assign = ( ".png" => "image/png",
! 34: ".jpg" => "image/jpeg",
! 35: ".jpeg" => "image/jpeg",
! 36: ".gif" => "image/gif",
! 37: ".html" => "text/html",
! 38: ".htm" => "text/html",
! 39: ".pdf" => "application/pdf",
! 40: ".swf" => "application/x-shockwave-flash",
! 41: ".spl" => "application/futuresplash",
! 42: ".txt" => "text/plain",
! 43: ".tar.gz" => "application/x-tgz",
! 44: ".tgz" => "application/x-tgz",
! 45: ".gz" => "application/x-gzip",
! 46: ".c" => "text/plain",
! 47: ".conf" => "text/plain" )
! 48:
! 49: fastcgi.debug = 0
! 50: fastcgi.server = ( ".php" => ( ( "host" => "127.0.0.1", "port" => 1026, "broken-scriptfilename" => "enable" ) ),
! 51: "/prefix.fcgi" => ( ( "host" => "127.0.0.1", "port" => 1026, "check-local" => "disable", "broken-scriptfilename" => "enable" ) )
! 52: )
! 53:
! 54:
! 55: cgi.assign = ( ".pl" => "/usr/bin/perl",
! 56: ".cgi" => "/usr/bin/perl",
! 57: ".py" => "/usr/bin/python" )
! 58:
! 59: auth.backend = "plain"
! 60: auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
! 61:
! 62: auth.backend.htpasswd.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.htpasswd"
! 63:
! 64: $HTTP["host"] == "lowercase-auth" {
! 65: auth.require = ( "/image.jpg" =>
! 66: (
! 67: "method" => "digest",
! 68: "realm" => "download archiv",
! 69: "require" => "valid-user"
! 70: )
! 71: )
! 72: }
! 73:
! 74: $HTTP["host"] == "lowercase-deny" {
! 75: url.access-deny = ( ".jpg")
! 76: }
! 77:
! 78: $HTTP["host"] == "lowercase-exclude" {
! 79: static-file.exclude-extensions = ( ".jpg" )
! 80: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>