<commit_before><VirtualHost *:80>
	ServerName <%= @params[:server_name] %>
  DocumentRoot <%= @params[:docroot] %>

  RailsBaseURI /
  RailsMaxPoolSize <%= @node[:rails][:max_pool_size] %>
  RailsPoolIdleTime 3600
  RailsEnv '<%= @node[:rails][:environment] %>'
  
  LogLevel info
	ErrorLog      <%= @node[:apache][:log_dir] %>/<%= @params[:name] %>_error.log
	CustomLog     <%= @node[:apache][:log_dir] %>/<%= @params[:name] %>_access.log combined

	ErrorDocument 404 /404.html
	ErrorDocument 500 /500.html

	RewriteEngine On

	# Handle maintenance mode
	RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
	RewriteCond %{SCRIPT_FILENAME} !maintenance.html  
	RewriteRule ^/(.*)$ /system/maintenance.html [L]

	<Directory <%= @docroot %>>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>
<commit_msg>cook-69, corrected directory w/ params<commit_after><VirtualHost *:80>
	ServerName <%= @params[:server_name] %>
  DocumentRoot <%= @params[:docroot] %>

  RailsBaseURI /
  RailsMaxPoolSize <%= @node[:rails][:max_pool_size] %>
  RailsPoolIdleTime 3600
  RailsEnv '<%= @node[:rails][:environment] %>'
  
  LogLevel info
	ErrorLog      <%= @node[:apache][:log_dir] %>/<%= @params[:name] %>_error.log
	CustomLog     <%= @node[:apache][:log_dir] %>/<%= @params[:name] %>_access.log combined

	ErrorDocument 404 /404.html
	ErrorDocument 500 /500.html

	RewriteEngine On

	# Handle maintenance mode
	RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
	RewriteCond %{SCRIPT_FILENAME} !maintenance.html  
	RewriteRule ^/(.*)$ /system/maintenance.html [L]

	<Directory <%= @params[:docroot] %>>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>

{'fraction_non_alphanumeric': 0.1623740201567749, 'fraction_numerical': 0.02127659574468085, 'mean_word_length': 4.6372239747634065, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '6333895', 'n_tokens_mistral': 697, 'n_tokens_neox': 591, 'n_words': 118}