<commit_before>---
# Generic vhost generator configuration file
# Location: /etc/vhost-gen/conf.yml
#
# If not specified or file is missing the following
# default values will be merged to your current (if any)
# configuration:
#
# server: nginx
# conf_dir: /etc/nginx/conf.d
# vhost:
#   name:
#     prefix:
#     suffix:
#   docroot:
#     suffix:
#   log:
#     access:
#       stdout: no
#       prefix:
#     error:
#       stderr: no
#       prefix:
#     dir:
#       create: no
#       path: /var/log/nginx
#       mode:
#         set: no
#         mode: '0755'
#       user:
#         set: no
#         user: nginx
#       group:
#         set: no
#         user: nginx
#   listen:
#     enable: no
#   php_fpm:
#     enable: no
#     address: php
#     port: 9000
#   alias: []
#   deny: []
#   server_status:
#     enable: no
#     alias: /server-status


# The server type determines which template
# from etc/templates/ will be chosen.
# Allowed server types:
# server: apache22
# server: apache24
# server: nginx
server: apache24

# Where to store the generated configuration files.
# This must be a directory the web server will read
# configuration files from.
conf_dir: /etc/apache/conf.d

# Vhost definition
vhost:
  # The virtual host name is specified as an command line argument
  # to vhost_gen.py via '-n', however it is possible
  # to prepend and/or append additional name strings.
  name:
    prefix:
    suffix: .loc
  # The document root directory is specified as an command line argument
  # to vhost_gen.py via '-p', however it is possible
  # to prepend another subdirectory here.
  docroot:
    suffix: htdocs
  # Log definition
  log:
    # Log file settings (error/access log)
    access:
      # For use inside a docker container, enable this in order
      # to redirect the access log to stdout instead of to file.
      stdout: no
      # By default the vhost name is used for log file names.
      # You can also prepand an additional string to the access log
      # as shown here:
      # <prefix><vhost>-access.log
      prefix: ''
    error:
      # For use inside a docker container, enable this in order
      # to redirect the error log to stderr instead of to file.
      stderr: no
      # By default the vhost name is used for log file names.
      # You can also prepand an additional string to the error log
      # as shown here:
      # <prefix><vhost>-error.log
      prefix: ''
    # Directory to store log files in.
    # Also define if the directory should be created or not.
    dir:
      create: yes
      path: /var/log/apache
      mode:
        set: no
        mode: '0750'
      user:
        set: no
        user: apache
      group:<commit_msg>VHG-003 Fix example for Apache 2.4<commit_after>---
# Generic vhost generator configuration file
# Location: /etc/vhost-gen/conf.yml
#
# If not specified or file is missing the following
# default values will be merged to your current (if any)
# configuration:
#
# server: nginx
# conf_dir: /etc/nginx/conf.d
# vhost:
#   name:
#     prefix:
#     suffix:
#   docroot:
#     suffix:
#   log:
#     access:
#       stdout: no
#       prefix:
#     error:
#       stderr: no
#       prefix:
#     dir:
#       create: no
#       path: /var/log/nginx
#       mode:
#         set: no
#         mode: '0755'
#       user:
#         set: no
#         user: nginx
#       group:
#         set: no
#         user: nginx
#   listen:
#     enable: no
#   php_fpm:
#     enable: no
#     address: php
#     port: 9000
#   alias: []
#   deny: []
#   server_status:
#     enable: no
#     alias: /server-status


# The server type determines which template
# from etc/templates/ will be chosen.
# Allowed server types:
# server: apache22
# server: apache24
# server: nginx
server: apache24

# Where to store the generated configuration files.
# This must be a directory the web server will read
# configuration files from.
conf_dir: /etc/apache2/conf.d

# Vhost definition
vhost:
  # The virtual host name is specified as an command line argument
  # to vhost_gen.py via '-n', however it is possible
  # to prepend and/or append additional name strings.
  name:
    prefix:
    suffix: .loc
  # The document root directory is specified as an command line argument
  # to vhost_gen.py via '-p', however it is possible
  # to prepend another subdirectory here.
  docroot:
    suffix: htdocs
  # Log definition
  log:
    # Log file settings (error/access log)
    access:
      # For use inside a docker container, enable this in order
      # to redirect the access log to stdout instead of to file.
      stdout: no
      # By default the vhost name is used for log file names.
      # You can also prepand an additional string to the access log
      # as shown here:
      # <prefix><vhost>-access.log
      prefix: ''
    error:
      # For use inside a docker container, enable this in order
      # to redirect the error log to stderr instead of to file.
      stderr: no
      # By default the vhost name is used for log file names.
      # You can also prepand an additional string to the error log
      # as shown here:
      # <prefix><vhost>-error.log
      prefix: ''
    # Directory to store log files in.
    # Also define if the directory should be created or not.
    dir:
      create: yes
      path: /var/log/apache2
      mode:
        set: no
        mode: '0750'
      user:
        set: no
        user: apache
      group:
{'fraction_non_alphanumeric': 0.08524710637516075, 'fraction_numerical': 0.007900055116663605, 'mean_word_length': 2.2174940898345152, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2853376', 'n_tokens_mistral': 1699, 'n_tokens_neox': 1632, 'n_words': 664}