Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122717

Summary: OTRS 2.0.4 mod_perl
Product: Gentoo Linux Reporter: Jens Hauser <jenshauser>
Component: Current packagesAssignee: Renat Lumpau (RETIRED) <rl03>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jens Hauser 2006-02-13 11:53:07 UTC
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>
Comment 1 Jens Hauser 2006-02-13 11:56:03 UTC
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
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 11:56:46 UTC
*** Bug 122718 has been marked as a duplicate of this bug. ***
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2006-02-14 09:52:00 UTC
sample apache2 config files in /var/www/HOSTNAME/${PF}/scripts do not mention Apache::Registry at all.
Comment 4 Jens Hauser 2006-02-14 10:38:13 UTC
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.
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2006-02-14 10:49:15 UTC
those are apache1, not apache2 conf files. there already are apache config files provided by upstream.