<commit_before>LoadModule cgi_module libexec/apache24/mod_cgi.so

<VirtualHost *:80>
  ServerName <%= @hostname %>
  Alias /smokeping /usr/local/smokeping/htdocs

  <Directory /usr/local/smokeping/htdocs>
      Require all granted
      AllowOverride none
      Options Indexes FollowSymLinks ExecCGI
      AddHandler cgi-script .cgi .fcgi
      DirectoryIndex index.html smokeping.fcgi
  </Directory>

</VirtualHost><commit_msg>make smokeping run under https and reuse basic auth from nagios<commit_after>LoadModule cgi_module libexec/apache24/mod_cgi.so

<VirtualHost *:443>
  ServerName <%= @hostname %>
  DocumentRoot /usr/local/smokeping/htdocs

  <Directory /usr/local/smokeping/htdocs>
      Require all granted
      AllowOverride none
      Options Indexes FollowSymLinks ExecCGI
      AddHandler cgi-script .cgi .fcgi
      DirectoryIndex index.html smokeping.fcgi
      AuthUserFile /usr/local/etc/nagios/htpasswd.users
      AuthName "Smokeping Auth"
      AuthType Basic
  </Directory>

</VirtualHost>
{'fraction_non_alphanumeric': 0.08185404339250493, 'fraction_numerical': 0.008875739644970414, 'mean_word_length': 3.5720720720720722, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '6811321', 'n_tokens_mistral': 336, 'n_tokens_neox': 313, 'n_words': 75}