Hi Eric, On Fri, Aug 12, 2005 at 04:58:06PM +0200, Eric Voisard wrote: >I'm actually trying to make otrs 2.0.1 run on our Apache 2.0.54 >installation with mod_perl 2.0.1 freshly installed as a loadable module. So >"two dot something" everywhere.
What's the version of CGI.pm? With mod_perl2 2.x you should use at least
CGI.pm 3.10. Also try the following settings in your apache config, that
works for me on debian unstable:
-----
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
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
<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>
...
-----
>Unfortunately it fails.
Are you getting error messages?
>I've seen a couple of old posts in this mailing
>list archive, but so far nothing worked in my case.
>
>So, I still need to investigate, but I'd like to be sure that either otrs
>2.0.1 is made for mod_perl 2 (that is, it uses the new API and not
>depreciated 1's functions), or if it still contains calls "a la" mod_perl 1
>and needs the "PerlModule Apache2::compat" stuff, plus what I still don't
>know.
The problem is the compartibility between mod_perl and CGI.pm amd not
OTRS. Because the API of mod_perl2 changed somehwere around 1.999.x you
have to use CGI.pm till 3.05, if you are using mod_perl2 1.x. With
mod_perl2 2.x you should the newest CGI.pm.
>Notice that I'm running Solaris/SPARC, but nothing was installed from some
>Sun's packages. They were all fresh tarballs that I compiled on the machine.
>Note also that otrs (which works nice in cgi mode, runs in a virtual host)
That should be all OK. I'd need more error messages, maybe I can help
you better then.
Best regards,
Chistian
--
((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
http://www.otrs.de/ :: Manage your communication!
signature.asc
Description: Digital signature
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
