anchor.diff:  ## if you add a variable here. Add the corresponding variable in the
   ## chroot example aswell.
   ##
  -var.log_root    = "/var/log/lighttpd"
  -var.server_root = "<%= @szWebRootDirectory %>"
  -var.state_dir   = "/var/run"
  -var.home_dir    = "/var/lib/lighttpd"
  -var.conf_dir    = "/etc/lighttpd"
  - 
  -##
  -## run the server chrooted.
  -##
  -## This requires root permissions during startup.
  -##
  -## If you run Chrooted set the the variables to directories relative to
  -## the chroot dir.
  -##
  -## example chroot configuration:
  -##
  -#var.log_root    = "/logs"
  -#var.server_root = "/"
  -#var.state_dir   = "/run"
  -#var.home_dir    = "/lib/lighttpd"
  -#var.vhosts_dir  = "/vhosts"
  -#var.conf_dir    = "/etc"
  -#
  -#server.chroot   = "/srv/www"
  - 
  -##
  -## Some additional variables to make the configuration easier
  -##
  - 
  -##
  -## Base directory for all virtual hosts
  -##
  -## used in:
  -## conf.d/evhost.conf
  -## conf.d/simple_vhost.conf
  -## vhosts.d/vhosts.template
  -##
  -var.vhosts_dir  = server_root + "/vhosts"
  - 
  -##
  -## Cache for mod_compress
  -##
  -## used in:
  -## conf.d/compress.conf
  -##
  -var.cache_dir   = "/var/cache/lighttpd"
  - 
  -##
  -## Base directory for sockets.
  -##
  -## used in:
  -## conf.d/fastcgi.conf
  -## conf.d/scgi.conf
  -##
  -var.socket_dir  = home_dir + "/sockets"
  - 
  -##
  -#######################################################################
  - 
  -#######################################################################
  -##
  -## Load the modules.
  -include "modules.conf"
  - 
  -##
  -#######################################################################
  - 
  -#######################################################################
  -##
  -##  Basic Configuration
  -## ---------------------
  -##
  -server.port = 80
  - 
  +
   ##
   ## Use IPv6?
   ##
  
positive.code: ## means the other file handles are used for fastcgi/files
  ##
  server.max-connections = 1024
   
  ##
  ## How many seconds to keep a keep-alive connection open,
  ## until we consider it idle.
  ##
  ## Default: 5
  ##
  #server.max-keep-alive-idle = 5
   
  ##
  ## How many keep-alive requests until closing the connection.
  ##
  ## Default: 16
  ##
  #server.max-keep-alive-requests = 16
   
  ##
  ## Maximum size of a request in kilobytes.
  ## By default it is unlimited (0).
  ##
  ## Uploads to your server cant be larger than this value.
  ##
  #server.max-request-size = 0
   
  ##
  ## Time to read from a socket before we consider it idle.
  ##
  ## Default: 60
  ##
  #server.max-read-idle = 60
   
  ##
  ## Time to write to a socket before we consider it idle.
  ##
  ## Default: 360
  ##
  #server.max-write-idle = 360
   
  ##
  ##  Traffic Shaping
  ## -----------------
  ##
  ## see /usr/share/doc/lighttpd/traffic-shaping.txt
  ##
  ## Values are in kilobyte per second.
  ##
  ## Keep in mind that a limit below 32kB/s might actually limit the
  ## traffic to 32kB/s. This is caused by the size of the TCP send
  ## buffer.
  ##
  ## per server:
  ##
  #server.kbytes-per-second = 128
   
  ##
  ## per connection:
  ##
  #connection.kbytes-per-second = 32
   
  ##
  #######################################################################
   
  #######################################################################
  ##
  ##  Filename/File handling
  ## ------------------------
   
  ##
  ## files to check for if .../ is requested
  ## index-file.names            = ( "index.php", "index.rb", "index.html",
  ##                                 "index.htm", "default.htm" )
  ##
  index-file.names += (
    "index.xhtml", "index.html", "index.htm", "default.htm", "index.php"
  )
   
  ##
  ## deny access the file-extensions
  ##
  ## ~    is for backupfiles from vi, emacs, joe, ...
  ## .inc is often used for code includes which should in general not be part
  ##      of the document-root
  url.access-deny             = ( "~", ".inc" )
   
  ##
  ## disable range requests for pdf files
  ## workaround for a bug in the Acrobat Reader plugin.
  ##
  $HTTP["url"] =~ "\.pdf$" {
    server.range-requests = "disable"
  }
   
  ##
  ## url handling modules (rewrite, redirect)
  ##
  #url.rewrite                = ( "^/$"             => "/server-status" )
  #url.redirect               = ( "^/wishlist/(.+)" => "http://www.example.com/$1" )
   
  ##
  ## both rewrite/redirect support back reference to regex conditional using %n
  ##
  #$HTTP["host"] =~ "^www\.(.*)" {
  #  url.redirect            = ( "^/(.*)" => "http://%1/$1" )
  #}
   
  ##
  ## which extensions should not be handle via static-file transfer
  ##
  ## .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
  ##
  static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" )
   
  ##
  ## error-handler for status 404
  ##
  #server.error-handler-404   = "/error-handler.html"
  #server.error-handler-404   = "/error-handler.php"
   
  ##
  ## Format: <errorfile-prefix><status-code>.html
  ## -> ..../status-404.html for 'File not found'
  ##
  #server.errorfile-prefix    = "/srv/www/htdocs/errors/status-"
   
  ##
  ## mimetype mapping
  ##
  include "conf.d/mime.conf"
   
  ##
  ## directory listing configuration
  ##
  include "conf.d/dirlisting.conf"
   
  ##
  ## Should lighttpd follow symlinks?
  ##
  server.follow-symlink = "enable"
   
  ##
  ## force all filenames to be lowercase?
  ##
  #server.force-lowercase-filenames = "disable"
   
  ##
  ## defaults to /var/tmp as we assume it is a local harddisk
  ##
  
negative.code: ##
  ## /etc/lighttpd/lighttpd.conf
  ##
  #######################################################################
  # This was based in the lighttpd.conf file get get on a default installation
  #     on Ubuntu 14.04.2
  
  server.modules = (
          "mod_access",
          "mod_alias",
          "mod_compress",
          "mod_redirect",
  #       "mod_rewrite",
  )
  
  server.document-root        = server_root + "/repo"
  #server.document-root        = "/var/www"
  server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
  server.errorlog             = "/var/log/lighttpd/error.log"
  server.pid-file             = "/var/run/lighttpd.pid"
  server.username             = "<%= @szWebProcessOwnerName %>"
  server.groupname            = "lighttpd"
  #server.username             = "www-data"
  #server.groupname            = "www-data"
  server.port                 = 80
  
  #### The old vars.
  ##var.log_root    = "/var/log/lighttpd"
  ##var.server_root = "<%= @szWebRootDirectory %>"
  ##var.state_dir   = "/var/run"
  ##var.home_dir    = "/var/lib/lighttpd"
  ##var.conf_dir    = "/etc/lighttpd"
  
  
  
  index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
  url.access-deny             = ( "~", ".inc" )
  static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  
  compress.cache-dir          = "/var/cache/lighttpd/compress/"
  compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
  
  # default listening port for IPv6 falls back to the IPv4 port
  ## Use ipv6 if available
  #include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  
  
  #######################################################################
  