Annotation of embedaddon/lighttpd/tests/mod-simplevhost.conf, revision 1.1

1.1     ! misho       1: debug.log-request-handling   = "enable"
        !             2: debug.log-response-header   = "disable"
        !             3: debug.log-request-header   = "disable"
        !             4: 
        !             5: ## bind to localhost (default: all interfaces)
        !             6: server.bind                = "localhost"
        !             7: server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
        !             8: server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
        !             9: server.name                = "www.example.org"
        !            10: 
        !            11: server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
        !            12: server.pid-file              = env.SRCDIR + "/tmp/lighttpd/lighttpd.pid"
        !            13: 
        !            14: ## bind to port (default: 80)
        !            15: server.port                 = 2048
        !            16: 
        !            17: 
        !            18: 
        !            19: ######################## MODULE CONFIG ############################
        !            20: 
        !            21: server.modules = ( "mod_simple_vhost" )
        !            22: 
        !            23: 
        !            24: # docroot depending on request path
        !            25: $HTTP["url"] =~ "^/a/" {
        !            26:   server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/a.example.org/pages/"
        !            27: } else $HTTP["url"] =~ "^/b/" {
        !            28:   server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/b.example.org/pages/"
        !            29: }

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