<commit_before>server.modules = (
    "mod_rewrite",
    "mod_access",
    "mod_accesslog",
    "mod_fastcgi"
)

server.port           = <?php echo $port ?>
#server.bind          = "127.0.0.1"

fastcgi.server = ( ".php" =>
  ( "localhost" =>
    (
      "socket" => "<?php echo sys_get_temp_dir() ?>/symfttpd-php-" + PID + ".socket",
      "bin-path" => "<?php echo $php_cgi_cmd ?> -d error_log=/dev/stderr'",
      "max-procs" => 1,
      "max-load-per-proc" => 1,
      "idle-timeout" => 120,
      "bin-environment" => (
        "PHP_FCGI_CHILDREN" => "3",
        "PHP_FCGI_MAX_REQUESTS" => "100",
        "IN_SYMFTTPD" => "1"
      )
    )
  )
)

include "<?php echo dirname(__FILE__) ?>/mime-types.conf"
server.indexfiles     = ("index.php", "index.html",
                        "index.htm", "default.htm")
server.follow-symlink = "enable"
static-file.exclude-extensions = (".php")


server.pid-file       = "<?php echo $config_dir ?>/lighttpd.pid"

server.errorlog       = "<?php echo $log_dir ?>/error.log"
accesslog.filename    = "<?php echo $log_dir ?>/access.log"

debug.log-file-not-found = "enable"
debug.log-request-header-on-error = "enable"

include_shell "<?php echo $php_cmd ?> <?php echo escapeshellarg($project_path.'/'.$genconf) ?>"

<commit_msg>Workaround for lighttpd's behavior on stupid filesystems<commit_after>server.modules = (
    "mod_rewrite",
    "mod_access",
    "mod_accesslog",
    "mod_fastcgi"
)

server.port           = <?php echo $port ?>
#server.bind          = "127.0.0.1"

fastcgi.server = ( ".php" =>
  ( "localhost" =>
    (
      "socket" => "<?php echo sys_get_temp_dir() ?>/symfttpd-php-" + PID + ".socket",
      "bin-path" => "<?php echo $php_cgi_cmd ?> -d error_log=/dev/stderr'",
      "max-procs" => 1,
      "max-load-per-proc" => 1,
      "idle-timeout" => 120,
      "bin-environment" => (
        "PHP_FCGI_CHILDREN" => "3",
        "PHP_FCGI_MAX_REQUESTS" => "100",
        "IN_SYMFTTPD" => "1"
      )
    )
  )
)

include "<?php echo dirname(__FILE__) ?>/mime-types.conf"
server.indexfiles     = ("index.php", "index.html",
                        "index.htm", "default.htm")
server.follow-symlink = "enable"
static-file.exclude-extensions = (".php")

# http://redmine.lighttpd.net/issues/406
server.force-lowercase-filenames = "disable"

server.pid-file       = "<?php echo $config_dir ?>/lighttpd.pid"

server.errorlog       = "<?php echo $log_dir ?>/error.log"
accesslog.filename    = "<?php echo $log_dir ?>/access.log"

debug.log-file-not-found = "enable"
debug.log-request-header-on-error = "enable"

include_shell "<?php echo $php_cmd ?> <?php echo escapeshellarg($project_path.'/'.$genconf) ?>"


{'fraction_non_alphanumeric': 0.1924953095684803, 'fraction_numerical': 0.013133208255159476, 'mean_word_length': 2.781560283687943, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3587683', 'n_tokens_mistral': 1029, 'n_tokens_neox': 986, 'n_words': 169}