Diff for /embedaddon/lighttpd/tests/fastcgi-auth.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 7  debug.log-request-handling = "enable" Line 7  debug.log-request-handling = "enable"
 ## bind to port (default: 80)  ## bind to port (default: 80)
 server.port                 = 2048  server.port                 = 2048
   
 # server.license              = "00000001000000013feccb804014587f000000010000000105911c976a3d462c8eaa2d7ca850432c"  
   
 ## bind to localhost (default: all interfaces)  ## bind to localhost (default: all interfaces)
 server.bind                = "localhost"  server.bind                = "localhost"
 server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"  server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
Line 16  server.breakagelog         = env.SRCDIR + "/tmp/lightt Line 14  server.breakagelog         = env.SRCDIR + "/tmp/lightt
 server.name                = "www.example.org"  server.name                = "www.example.org"
 server.tag                 = "Apache 1.3.29"  server.tag                 = "Apache 1.3.29"
   
 ##  
 ## Format: <errorfile-prefix><status>.html  
 ## -> ..../status-404.html for 'File not found'  
 #server.errorfile-prefix    = "/home/weigon/projects/lighttpd/doc/status-"  
   
 server.dir-listing          = "enable"  server.dir-listing          = "enable"
   
#server.event-handler        = "linux-sysepoll"server.modules = (
#server.event-handler        = "linux-rtsig"        "mod_rewrite",
         "mod_access",
         "mod_auth",
         "mod_status",
         "mod_expire",
         "mod_redirect",
         "mod_fastcgi",
         "mod_cgi",
         "mod_compress",
         "mod_accesslog",
 )
   
#server.modules.path         = ""server.indexfiles = (
server.modules              = (        "index.php",
                                "mod_rewrite",        "index.html",
                                "mod_access",        "index.htm",
                                "mod_auth",        "default.htm",
#                               "mod_httptls",)
                                "mod_status", 
                                "mod_expire", 
#                               "mod_simple_vhost", 
                                "mod_redirect", 
#                               "mod_evhost", 
#                               "mod_localizer", 
                                "mod_fastcgi", 
                                "mod_cgi", 
                                "mod_compress", 
                                "mod_accesslog" ) 
   
 server.indexfiles           = ( "index.php", "index.html",  
                                 "index.htm", "default.htm" )  
   
 #,-- only root can use these options  
 #|  
 #|# chroot() to directory (default: no chroot() )  
 #| server.chroot  /  
 #|# change uid to <uid> (default: don't care)  
 #| server.userid wwwrun  
 #|# change uid to <uid> (default: don't care)  
 #| server.groupid wwwrun  
 #|  
 #`--  
   
   
 ######################## 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             = ( ".png"  => "image/png",mimetype.assign = (
                                ".jpg"  => "image/jpeg",        ".png"  => "image/png",
                                ".jpeg" => "image/jpeg",        ".jpg"  => "image/jpeg",
                                ".gif"  => "image/gif",        ".jpeg" => "image/jpeg",
                                ".html" => "text/html",        ".gif"  => "image/gif",
                                ".htm"  => "text/html",        ".html" => "text/html",
                                ".pdf"  => "application/pdf",        ".htm"  => "text/html",
                                ".swf"  => "application/x-shockwave-flash",        ".pdf"  => "application/pdf",
                                ".spl"  => "application/futuresplash",        ".swf"  => "application/x-shockwave-flash",
                                ".txt"  => "text/plain",        ".spl"  => "application/futuresplash",
                                ".tar.gz" =>   "application/x-tgz",        ".txt"  => "text/plain",
                                ".tgz"  => "application/x-tgz",        ".tar.gz" =>   "application/x-tgz",
                                ".gz"   => "application/x-gzip",        ".tgz"  => "application/x-tgz",
                                ".c"    => "text/plain",        ".gz"   => "application/x-gzip",
                                ".conf" => "text/plain" )        ".c"    => "text/plain",
         ".conf" => "text/plain",
 )
   
compress.cache-dir          = env.SRCDIR + "/tmp/lighttpd/cache/compress/"compress.cache-dir = env.SRCDIR + "/tmp/lighttpd/cache/compress/"
compress.filetype           = ("text/plain", "text/html")compress.filetype = (
         "text/plain",
         "text/html",
 )
   
fastcgi.debug               = 0fastcgi.debug = 0
fastcgi.server              = ( "/" => (fastcgi.server = (
                                  "grisu" => (        "/" => (
                                    "host" => "127.0.0.1",                        "grisu" => (
                                    "port" => 20000,                        "host" => "127.0.0.1",
                                    "bin-path" => env.SRCDIR + "/fcgi-auth",                        "port" => 20000,
                                    "mode" => "authorizer",                        "bin-path" => env.SRCDIR + "/fcgi-auth",
                                    "docroot" => env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/",                        "mode" => "authorizer",
                                    "check-local" => "disable",                        "docroot" => env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/",
                         "check-local" => "disable",
                 ),
         ),
 )
   
                                  )cgi.assign = (
                                )        ".pl"  => env.PERL,
                              )        ".cgi" => env.PERL,
 )
   
auth.backend = "plain"
cgi.assign                  = ( ".pl"  => "/usr/bin/perl", 
                                ".cgi" => "/usr/bin/perl", 
                                ".py"  => "/usr/bin/python" ) 
 
 
 
ssl.engine                  = "disable" 
# ssl.pemfile                 = "server.pem" 
 
auth.backend                = "plain" 
 auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"  auth.backend.plain.userfile = env.SRCDIR + "/tmp/lighttpd/lighttpd.user"
 auth.backend.plain.groupfile = "lighttpd.group"  auth.backend.plain.groupfile = "lighttpd.group"
   
Line 114  auth.backend.ldap.hostname  = "localhost" Line 92  auth.backend.ldap.hostname  = "localhost"
 auth.backend.ldap.base-dn   = "dc=my-domain,dc=com"  auth.backend.ldap.base-dn   = "dc=my-domain,dc=com"
 auth.backend.ldap.filter    = "(uid=$)"  auth.backend.ldap.filter    = "(uid=$)"
   
auth.require                = ( "/server-status" =>auth.require = (
                                (        "/server-status" => (
                                  "method"  => "digest",                "method"  => "digest",
                                  "realm"   => "download archiv",                "realm"   => "download archiv",
#                                 "require" => ("group=www", "user=jan", "host=192.168.2.10")                "require" => "group=www|user=jan|host=192.168.2.10",
                                  "require" => "group=www|user=jan|host=192.168.2.10"        ),
                                ),        "/auth.php" => (
                                "/auth.php" =>                "method"  => "basic",
                                (                "realm"   => "download archiv",
                                  "method"  => "basic",                "require" => "user=jan",
                                  "realm"   => "download archiv",        ),
#                                 "require" => ("group=www", "user=jan", "host=192.168.2.10")        "/server-config" => (
                                  "require" => "user=jan"                "method"  => "basic",
                                ),                "realm"   => "download archiv",
                                "/server-config" =>                "require" => "group=www|user=jan|host=192.168.2.10",
                                (        ),
                                  "method"  => "basic",)
                                  "realm"   => "download archiv", 
#                                 "require" => ("group=www", "user=jan", "user=weigon", "host=192.168.2.10") 
                                  "require" => "group=www|user=jan|host=192.168.2.10" 
                                ) 
                              ) 
   
url.access-deny             = ( "~", ".inc")url.access-deny = (
         "~",
         ".inc",
 )
   
url.redirect                = ( "^/redirect/$" => "http://localhost:2048/)url.redirect = (
         "^/redirect/$" => "http://localhost:2048/",
 )
   
expire.url                  = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")expire.url = (
         "/buggy/" => "access 2 hours",
         "/asdhas/" => "access plus 1 seconds 2 minutes",
 )
   
 #cache.cache-dir             = "/home/weigon/wwwroot/cache/"  
   
 #### status module  #### status module
status.status-url           = "/server-status"status.status-url = "/server-status"
status.config-url           = "/server-config"status.config-url = "/server-config"
   
 $HTTP["host"] == "vvv.example.org" {  $HTTP["host"] == "vvv.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/"
 }  }
   
 $HTTP["host"] == "zzz.example.org" {  $HTTP["host"] == "zzz.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 = "zzz.example.org"        server.name = "zzz.example.org"
 }  }
   

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


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