Annotation of embedaddon/lighttpd/tests/var-include.conf, revision 1.1.1.2

1.1       misho       1: 
                      2: debug.log-request-handling = "enable"
1.1.1.2 ! misho       3: #debug.log-condition-handling = "enable"
1.1       misho       4: 
                      5: server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
                      6: 
                      7: ## bind to port (default: 80)
                      8: server.port                 = 2048
                      9: 
                     10: ## bind to localhost (default: all interfaces)
                     11: server.bind                = "localhost"
                     12: server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
                     13: server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
                     14: server.name                = "www.example.org"
                     15: server.tag                 = "Apache 1.3.29"
                     16: 
                     17: 
1.1.1.2 ! misho      18: server.modules = (
        !            19:        "mod_redirect",
        !            20:        "mod_accesslog",
        !            21: )
1.1       misho      22: 
                     23: ######################## MODULE CONFIG ############################
                     24: 
1.1.1.2 ! misho      25: accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
1.1       misho      26: 
1.1.1.2 ! misho      27: mimetype.assign  = (
        !            28:        ".html" => "text/html",
        !            29: )
        !            30: 
        !            31: url.redirect = (
        !            32:        "^" => "/default",
        !            33: )
1.1       misho      34: 
                     35: $HTTP["host"] == "www.example.org" {
1.1.1.2 ! misho      36:        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
        !            37:        server.name = "www.example.org"
        !            38:        url.redirect = (
        !            39:                "^" => "/redirect",
        !            40:        )
1.1       misho      41: }
1.1.1.2 ! misho      42: 
1.1       misho      43: $HTTP["host"] == "test.example.org" {
1.1.1.2 ! misho      44:        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
        !            45:        server.name = "test.example.org"
        !            46:        var.myvar = "good"
        !            47:        var.one = 1
        !            48:        include "var-include-sub.conf"
1.1       misho      49: }

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