Diff for /embedaddon/lighttpd/tests/condition.conf between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2013/10/14 10:32:47 version 1.1.1.2, 2016/11/02 10:35:00
Line 15  server.name                = "www.example.org" Line 15  server.name                = "www.example.org"
 server.tag                 = "Apache 1.3.29"  server.tag                 = "Apache 1.3.29"
   
   
server.modules              = (server.modules = (
                                  "mod_redirect",        "mod_redirect",
                                "mod_accesslog" )        "mod_accesslog",
 )
   
 ######################## MODULE CONFIG ############################  ######################## MODULE CONFIG ############################
   
   
accesslog.filename          = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
   
mimetype.assign             = ( ".html" => "text/html" )mimetype.assign = (
         ".html" => "text/html",
 )
   
url.redirect = ("^" => "/default")url.redirect = (
         "^" => "/default",
 )
   
 $HTTP["host"] == "www.example.org" {  $HTTP["host"] == "www.example.org" {
  server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
  server.name = "www.example.org"        server.name = "www.example.org"
  url.redirect = ("^" => "/match_1")        url.redirect = (
                 "^" => "/match_1",
         )
 }  }
 else $HTTP["host"] == "test1.example.org" {  else $HTTP["host"] == "test1.example.org" {
  server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
  server.name = "test1.example.org"        server.name = "test1.example.org"
  url.redirect = ("^" => "/match_2")        url.redirect = (
                 "^" => "/match_2",
         )
 }  }
 # comments  # comments
 else $HTTP["host"] == "test2.example.org" {  else $HTTP["host"] == "test2.example.org" {
  server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
  server.name = "test2.example.org"        server.name = "test2.example.org"
  url.redirect = ("^" => "/match_3")        url.redirect = (
                 "^" => "/match_3",
         )
 }  }
   
          # comments           # comments
   
 else $HTTP["host"] == "test3.example.org" {  else $HTTP["host"] == "test3.example.org" {
  server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
  server.name = "test3.example.org"        server.name = "test3.example.org"
  url.redirect = ("^" => "/match_4")        url.redirect = (
                 "^" => "/match_4",
         )
   
  # comments        # comments
  $HTTP["url"] == "/index.html" {        $HTTP["url"] == "/index.html" {
    url.redirect = ("^" => "/match_5")                url.redirect = (
  }                        "^" => "/match_5",
                 )
         }
 }  }
   
 else $HTTP["host"] == "test4.example.org" {  else $HTTP["host"] == "test4.example.org" {
  server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"        server.document-root = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
  server.name = "test4.example.org"        server.name = "test4.example.org"
  url.redirect = ("^" => "/match_6")        url.redirect = (
                 "^" => "/match_6",
         )
   
  $HTTP["url"] =~ "^/subdir/" {        $HTTP["url"] =~ "^/subdir/" {
    url.redirect = ("^" => "/match_7")                url.redirect = (
  }                        "^" => "/match_7",
                 )
         }
 }
 
 $HTTP["url"] != "/show/other/server-tag" {
 }
 else $HTTP["scheme"] == "http" {
         server.tag = "special tag"
 }  }

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


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