
Hi Stephan, On Fri, Aug 19, 2005 at 09:46:14AM +0200, Stephan Holl wrote:
On Thu, 18 Aug 2005 17:04:32 +0200 Andre Bauer <monotek@freakmail.de> wrote:
--===============53774084486860985==
Hallo.
Meine unterscheidet sich etwas, aufgrund der 2.0 Version
# -- # added for OTRS (http://otrs.org/) # --
# agent, admin and customer frontend ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
# load all otrs modules #Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache::Reload #PerlInitHandler Apache::Reload
# set mod_perl2 options <Location /otrs> ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl # SetHandler perl-script # PerlHandler ModPerl::Registry Options +ExecCGI # PerlOptions +ParseHeaders </Location>
# MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400
OK, getestet. Funktioniert hier nicht. Ich brauche schon das mod_perl.
Ohne mod_perl sollte OTRS eigentlich auch funktionieren...
Hier nochmal die Fehlermeldung: Weiß noch jemand rat? <Fehler> [Fri Aug 19 09:43:43 2005] [error] Can't locate object method "boot" via package "mod_perl" at /usr/lib/perl5/Apache/Constants.pm line 8.\nCompilationfailed in require at /usr/lib/perl5/Apache.pm line 6.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache.pm line 6.\nCompilation failed in require at /usr/lib/perl5/Apache/Registry.pm line 2.\nBEGIN failed--compilation aborted at /usr/lib/perl5/Apache/Registry.pm line 2.\nCompilation failed in require at /usr/share/otrs/scripts/apache-perl-startup.pl line 12.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache-perl-startup.pl line 12.\nCompilation failed in require at (eval 3) line 1.\n </Fehler>
Ich weiß jetzt nicht, was du genau installiert hast, also welche mod_perl2 Version und welches CGI.pm, aber vielleicht hilft dir folgende Konfiguration weiter. Mit dieser funktionierts bei mir unter debian unstalbe bestens: ------ # -- # added for OTRS (http://otrs.org/) # -- # agent, admin and customer frontend ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" # load all otrs modules Perlrequire /opt/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 <Location /otrs> # ErrorDocument 403 /otrs/customer.pl AllowOverride None ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlOptions +SetupEnv Order allow,deny Allow from all </Location> # directory settings <Directory "/opt/otrs/bin/cgi-bin/"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <Directory "/opt/otrs/var/httpd/htdocs/"> AllowOverride None Order allow,deny Allow from all </Directory> # MaxRequestsPerChild (so no apache child will be to big!) MaxRequestsPerChild 400 ----- Ciao, Christian -- ((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!