My OTRS behaves bad when running with mod_perl2

Hello All, I have OTRS running just fine on a RH9 server with Apache 2, but... when I try to use mod_perl2 it looks like all session information gets messed up: you login using user's A credentials and OTRS logs you in as user B; or, you click a link, any link, like "admin" and it serves you with any other page. Can someone give me a clue? Thanks! Guido -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 12/8/2005

Hi Guido, That actually sounds like it *might* be related to a problem I'm having - is there anything nasty-looking in either your Apache error_log or rcapache2.out (or whatever it's called in your case, the Apache startup log)? Regards, Danny Smith Midrange Software Design http://www.msd.net.au (07) 3368 7888 Midrange Software Design Pty. Ltd. does not represent or warrant that the attached files are free from computer viruses or other defects. The attached files are provided, and may only be used, on the basis that the user assumes all responsibility for any loss, damage or consequences resulting directly or indirectly from use of the attached files. This email is confidential. If it includes quoted prices, unless otherwise stated, validity is 14 days from the date of this message. Sales tax, GST and delivery charges are excluded unless noted. Acceptance of any quotation or order is subject to MSD's usual terms and conditions of sale. otrs-bounces@otrs.org wrote on 13/08/2005 05:42:52 PM:
Hello All, I have OTRS running just fine on a RH9 server with Apache 2, but... when I try to use mod_perl2 it looks like all session information gets messed up: you login using user's A credentials and OTRS logs you in as user B; or, you click a link, any link, like "admin" and it serves you with any other page. Can someone give me a clue? Thanks! Guido
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 12/8/2005 _______________________________________________ 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/

Hello Danny, and thanks a lot for you reply! The only strange message I see is... [error] slurp_filename('/usr/local/apache2/htdocs/otrs') / opening: (2) No such file or directory at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/ModPerl/RegistryCooker.pm line 540 ... in the error_log; on, and BTW, I'm using the original "apache2-httpd.include.conf" file from the OTRS distribution by including it from my httpd.conf. Regards, Guido
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/

Hello, On Sat, Aug 13, 2005 at 05:42:52PM -0300, Guido Malato wrote:
I have OTRS running just fine on a RH9 server with Apache 2, but... when I try to use mod_perl2 it looks like all session information gets messed up: you login using user's A credentials and OTRS logs you in as user B; or, you click a link, any link, like "admin" and it serves you with any other page.
Yes, thats mod_perl2 trouble :(.
What version of mod_perl2 and CGI.pm have you installed.
Use CGI.pm newer then 3.05, if mod_Perl2 2.x is installed. With
mod_perl2 1.x use CGI.pm 3.05. Also the following apache configuration
might help you..., its works for my with CGI.pm 3.11 and mod_perl2 2.x:
-----
# --
# 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

Hello Christian, I've upgraded CGI.pm to the last version and OTRS and that did the trick... OTRS is now working just fine. Thank you very much! Guido
participants (3)
-
Christian Schoepplein
-
Danny Smith
-
Guido Malato