1 # DO NOT EDIT - This file is being maintained by Chef
 
   4         ServerName <%= @name %>
 
   5         ServerAdmin webmaster@openstreetmap.org
 
   7         CustomLog /var/log/apache2/<%= @name %>-access.log combined
 
   8         ErrorLog /var/log/apache2/<%= @name %>-error.log
 
  10         RedirectPermanent / https://otrs.openstreetmap.org/
 
  14         ServerName <%= @name %>
 
  15         ServerAdmin webmaster@openstreetmap.org
 
  17         CustomLog /var/log/apache2/<%= @name %>-access.log combined
 
  18         ErrorLog /var/log/apache2/<%= @name %>-error.log
 
  22         ScriptAlias /otrs/ /opt/otrs/bin/cgi-bin/
 
  23         Alias /otrs-web/ /opt/otrs/var/httpd/htdocs/
 
  24         RedirectMatch ^/$ /otrs/index.pl
 
  26         PerlRequire /opt/otrs/scripts/apache2-perl-startup.pl
 
  28         PerlModule Apache2::Reload
 
  29         PerlInitHandler Apache2::Reload
 
  30         PerlModule Apache2::RequestRec
 
  33                 ErrorDocument 403 /otrs/index.pl
 
  34                 ErrorDocument 404 /otrs/index.pl
 
  35                 SetHandler  perl-script
 
  36                 PerlResponseHandler ModPerl::Registry
 
  38                 PerlOptions +ParseHeaders
 
  44         <Location /otrs/nph-genericinterface.pl>
 
  45                 PerlOptions -ParseHeaders
 
  49 <Directory /opt/otrs/bin/cgi-bin>
 
  51         Options +ExecCGI -Includes
 
  56 <Directory /opt/otrs/var/httpd/htdocs>
 
  62 <Directory /opt/otrs/var/httpd/htdocs/skins/*/*/css-cache>
 
  63         <FilesMatch "\.(css|CSS)$">
 
  64                 Header set Cache-Control "max-age=2592000 must-revalidate"
 
  68 <Directory /opt/otrs/var/httpd/htdocs/js/js-cache>
 
  69         <FilesMatch "\.(js|JS)$">
 
  70                 Header set Cache-Control "max-age=2592000 must-revalidate"