Annotation of embedaddon/lighttpd/tests/fastcgi-responder.conf, revision 1.1

1.1     ! misho       1: server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
        !             2: 
        !             3: #debug.log-request-header   = "enable"
        !             4: #debug.log-response-header  = "enable"
        !             5: #debug.log-request-handling = "enable"
        !             6: #debug.log-state-handling = "enable"
        !             7: 
        !             8: #fastcgi.debug = 1
        !             9: 
        !            10: ## bind to port (default: 80)
        !            11: server.port                 = 2048
        !            12: 
        !            13: # server.license              = "00000001000000013feccb804014587f000000010000000105911c976a3d462c8eaa2d7ca850432c"
        !            14: 
        !            15: ## bind to localhost (default: all interfaces)
        !            16: server.bind                = "localhost"
        !            17: server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
        !            18: server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
        !            19: server.name                = "www.example.org"
        !            20: server.tag                 = "Apache 1.3.29"
        !            21: 
        !            22: ##
        !            23: ## Format: <errorfile-prefix><status>.html
        !            24: ## -> ..../status-404.html for 'File not found'
        !            25: #server.errorfile-prefix    = "/home/weigon/projects/lighttpd/doc/status-"
        !            26: 
        !            27: server.dir-listing          = "enable"
        !            28: 
        !            29: #server.event-handler        = "linux-sysepoll"
        !            30: #server.event-handler        = "linux-rtsig"
        !            31: 
        !            32: #server.modules.path         = ""
        !            33: server.modules              = (
        !            34:                                "mod_rewrite",
        !            35:                                "mod_access",
        !            36:                                "mod_auth",
        !            37: #                              "mod_httptls",
        !            38:                                "mod_status",
        !            39:                                "mod_expire",
        !            40: #                              "mod_simple_vhost",
        !            41:                                "mod_redirect",
        !            42: #                              "mod_evhost",
        !            43: #                              "mod_localizer",
        !            44:                                "mod_fastcgi",
        !            45:                                "mod_cgi",
        !            46:                                "mod_compress",
        !            47:                                "mod_accesslog" )
        !            48: 
        !            49: server.indexfiles           = ( "index.php", "index.html",
        !            50:                                 "index.htm", "default.htm" )
        !            51: 
        !            52: #,-- only root can use these options
        !            53: #|
        !            54: #|# chroot() to directory (default: no chroot() )
        !            55: #| server.chroot  /
        !            56: #|# change uid to <uid> (default: don't care)
        !            57: #| server.userid wwwrun
        !            58: #|# change uid to <uid> (default: don't care)
        !            59: #| server.groupid wwwrun
        !            60: #|
        !            61: #`--
        !            62: 
        !            63: 
        !            64: ######################## MODULE CONFIG ############################
        !            65: 
        !            66: 
        !            67: accesslog.filename          = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
        !            68: 
        !            69: mimetype.assign             = ( ".png"  => "image/png",
        !            70:                                 ".jpg"  => "image/jpeg",
        !            71:                                 ".jpeg" => "image/jpeg",
        !            72:                                 ".gif"  => "image/gif",
        !            73:                                 ".html" => "text/html",
        !            74:                                 ".htm"  => "text/html",
        !            75:                                 ".pdf"  => "application/pdf",
        !            76:                                 ".swf"  => "application/x-shockwave-flash",
        !            77:                                 ".spl"  => "application/futuresplash",
        !            78:                                 ".txt"  => "text/plain",
        !            79:                                 ".tar.gz" =>   "application/x-tgz",
        !            80:                                 ".tgz"  => "application/x-tgz",
        !            81:                                 ".gz"   => "application/x-gzip",
        !            82:                                ".c"    => "text/plain",
        !            83:                                ".conf" => "text/plain" )
        !            84: 
        !            85: compress.cache-dir          = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
        !            86: compress.filetype           = ("text/plain", "text/html")
        !            87: 
        !            88: fastcgi.debug               = 0
        !            89: fastcgi.server              = ( ".fcgi" => (
        !            90:                                   "grisu" => (
        !            91:                                    "host" => "127.0.0.1",
        !            92:                                    "port" => 10000,
        !            93:                                    "bin-path" => env.SRCDIR + "/fcgi-responder",
        !            94:                                    "check-local" => "disable",
        !            95:                                    "max-procs" => 1,
        !            96:                                    "min-procs" => 1
        !            97:                                  )
        !            98:                                )
        !            99:                              )
        !           100: 
        !           101: 
        !           102: cgi.assign                  = ( ".pl"  => "/usr/bin/perl",
        !           103:                                 ".cgi" => "/usr/bin/perl",
        !           104:                                ".py"  => "/usr/bin/python" )
        !           105: 
        !           106: 
        !           107: 
        !           108: ssl.engine                  = "disable"
        !           109: # ssl.pemfile                 = "server.pem"
        !           110: 
        !           111: auth.backend                = "plain"
        !           112: auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
        !           113: auth.backend.plain.groupfile = "lighttpd.group"
        !           114: 
        !           115: auth.backend.ldap.hostname  = "localhost"
        !           116: auth.backend.ldap.base-dn   = "dc=my-domain,dc=com"
        !           117: auth.backend.ldap.filter    = "(uid=$)"
        !           118: 
        !           119: auth.require                = ( "/server-status" =>
        !           120:                                 (
        !           121:                                  "method"  => "digest",
        !           122:                                  "realm"   => "download archiv",
        !           123: #                                "require" => ("group=www", "user=jan", "host=192.168.2.10")
        !           124:                                  "require" => "group=www|user=jan|host=192.168.2.10"
        !           125:                                ),
        !           126:                                "/auth.php" =>
        !           127:                                 (
        !           128:                                  "method"  => "basic",
        !           129:                                  "realm"   => "download archiv",
        !           130: #                                "require" => ("group=www", "user=jan", "host=192.168.2.10")
        !           131:                                  "require" => "user=jan"
        !           132:                                ),
        !           133:                                "/server-config" =>
        !           134:                                 (
        !           135:                                  "method"  => "basic",
        !           136:                                  "realm"   => "download archiv",
        !           137: #                                "require" => ("group=www", "user=jan", "user=weigon", "host=192.168.2.10")
        !           138:                                  "require" => "group=www|user=jan|host=192.168.2.10"
        !           139:                                )
        !           140:                               )
        !           141: 
        !           142: url.access-deny             = ( "~", ".inc")
        !           143: 
        !           144: url.redirect                = ( "^/redirect/$" => "http://localhost:2048/" )
        !           145: 
        !           146: expire.url                  = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")
        !           147: 
        !           148: #cache.cache-dir             = "/home/weigon/wwwroot/cache/"
        !           149: 
        !           150: #### status module
        !           151: status.status-url           = "/server-status"
        !           152: status.config-url           = "/server-config"
        !           153: 
        !           154: $HTTP["host"] == "vvv.example.org" {
        !           155:   server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
        !           156: }
        !           157: 
        !           158: $HTTP["host"] == "zzz.example.org" {
        !           159:   server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
        !           160:   server.name = "zzz.example.org"
        !           161: }
        !           162: 
        !           163: $HTTP["host"] == "wsgi.example.org" {
        !           164:        fastcgi.server = (
        !           165:                "/"  =>
        !           166:                        ( (
        !           167:                                "host" => "127.0.0.1", "port" => 10000,
        !           168:                                "fix-root-scriptname" => "enable",
        !           169:                                "check-local" => "disable",
        !           170:                                "bin-path" => env.SRCDIR + "/fcgi-responder",
        !           171:                                "max-procs" => 1,
        !           172:                        ) ),
        !           173:        )
        !           174: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>