<commit_before># Setup additional Apache features

# Apache modules to enable
mods = %w[
  vhost_alias
  rewrite
]

#-----------------------------------------------------------------------

# Enable modules
mods.each do |mod|
  %w[conf load].each do |ext|
    source = "/etc/apache2/mods-available/#{mod}.#{ext}"
    target = "/etc/apache2/mods-enabled/#{mod}.#{ext}"
    if File.exist?(source)
      ln_s source, target
    end
  end
end
#<commit_msg>Added more modules to my_apache: mod_deflate, mod_headers, and mod_expires.<commit_after># Setup additional Apache features

# Apache modules to enable
mods = %w[
  vhost_alias
  rewrite
  deflate
  headers
  expires
]

#-----------------------------------------------------------------------

# Enable modules
mods.each do |mod|
  %w[conf load].each do |ext|
    source = "/etc/apache2/mods-available/#{mod}.#{ext}"
    target = "/etc/apache2/mods-enabled/#{mod}.#{ext}"
    if File.exist?(source)
      ln_s source, target
    end
  end
end
#
{'fraction_non_alphanumeric': 0.25903614457831325, 'fraction_numerical': 0.004016064257028112, 'mean_word_length': 1.9410029498525074, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3669277', 'n_tokens_mistral': 314, 'n_tokens_neox': 318, 'n_words': 79}