# --
# added for OTRS (http://otrs.org/)
# $Id: apache2-httpd-new.include.conf,v 1.5 2008/11/10 11:08:55 ub Exp $
# --
# agent, admin and customer frontend
ScriptAlias /otrs/ "/var/www/webapps/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/var/www/webapps/otrs/var/httpd/htdocs/"
# if mod_perl is used
# load all otrs modules
Perlrequire /var/www/webapps/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
# directory settings
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
AllowOverride None
Order allow,deny
Allow from all
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400