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

<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
-----

Hth ;).

Best regards,
Christian

-- 
((otrs)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication!

Attachment: 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/

Reply via email to