what about a file "/etc/apache2/modules.d/99_otrs.conf with special care about the "#"-line. Alias /otrs-web/ "/var/www/localhost/htdocs/otrs2/" Alias /otrs2/ "/var/www/localhost/otrs-2.0.4/bin/cgi-bin/" <Location /otrs2> SetHandler perl-script # PerlHandler Apache::Registry PerlResponseHandler ModPerl::Registry Options ExecCGI PerlSendHeader On PerlSetupEnv On </Location>
see also (the "# -line): http://perl.apache.org/docs/2.0/user/intro/start_fast.html Registry.pm-problem also covered here: http://forums.gentoo.org/viewtopic-t-430240-highlight-modperl+registry+pm.html
*** Bug 122718 has been marked as a duplicate of this bug. ***
sample apache2 config files in /var/www/HOSTNAME/${PF}/scripts do not mention Apache::Registry at all.
grep "Apache::Registry" scripts/ -r shows to me: scripts/apache-httpd.include.conf: PerlHandler Apache::Registry scripts/apache-httpd.conf:PerlModule Apache::Registry scripts/apache-httpd.conf:# set Apache::Registry Mode for /perl Alias scripts/apache-httpd.conf:PerlHandler Apache::Registry scripts/apache-httpd.conf:PerlHandler Apache::Registry scripts/apache-httpd.conf:PerlHandler Apache::Registry scripts/apache-perl-startup.pl:use Apache::Registry (); But anyway: this package would really need a .conf-file for apache (see my first comment) to make configuration easier to us.
those are apache1, not apache2 conf files. there already are apache config files provided by upstream.