
Hi there, I have searched the mailing list and followed what it is said in the manual doc. But, somehow, still can not make it work. I'm using OTRS1.1, Apache/2.0.40 and mod_perl-1.99_05-3 on Redhat 8 box. I have installed two OTRS instances otrs and otrs2. In the httpd.conf, I have: ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin"Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs"Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl ScriptAlias /otrs2/ "/opt/otrs2/bin/cgi-bin"Alias /otrs2-web/ "/opt/otrs2/var/httpd/htdocs"Perlrequire /opt/otrs2/scripts/apache2-perl-startup.pl In /opt/otrs/scripts/apache2-perl-startup.pl, I have: use lib "/opt/otrs";use lib "/opt/otrs/Kernel/cpan-lib"; In /opt/otrs2/scripts/apache2-perl-startup.pl, I have: use lib "/opt/otrs2";use lib "/opt/otrs2/Kernel/cpan-lib"; I have also modified two Kernel/Config.pm. One has $Self->{SystemID} = 10; And the other one has:$Self->{SystemID} = 20; The problem is that http://hostname/otrs/index.hmtl and http://hostname/otrs2/index.html are total the same if I load two otrs instances. Both are running the first instance in httpd.conf. If I run each instance seperately, each instance is running okay. One has session id 10****. And the other one has session id 20****. I'm wondering that what else I should modify or update. Thanks in advance for the help!Jimmy --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.

Hi Jimmy, How have you setup the rest of your system, like database and mail addresses? If both instances for example are using the same db tables, than they are indeed identical. Maarten -----Oorspronkelijk bericht----- Van: otrs-admin@otrs.org [mailto:otrs-admin@otrs.org]Namens jimmy zhao Verzonden: zaterdag 10 mei 2003 9:45 Aan: otrs@otrs.org Onderwerp: [otrs] problem with multi hosting setup Hi there, I have searched the mailing list and followed what it is said in the manual doc. But, somehow, still can not make it work. I'm using OTRS1.1, Apache/2.0.40 and mod_perl-1.99_05-3 on Redhat 8 box. I have installed two OTRS instances otrs and otrs2. In the httpd.conf, I have: ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin" Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs" Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl ScriptAlias /otrs2/ "/opt/otrs2/bin/cgi-bin" Alias /otrs2-web/ "/opt/otrs2/var/httpd/htdocs" Perlrequire /opt/otrs2/scripts/apache2-perl-startup.pl In /opt/otrs/scripts/apache2-perl-startup.pl, I have: use lib "/opt/otrs"; use lib "/opt/otrs/Kernel/cpan-lib"; In /opt/otrs2/scripts/apache2-perl-startup.pl, I have: use lib "/opt/otrs2"; use lib "/opt/otrs2/Kernel/cpan-lib"; I have also modified two Kernel/Config.pm. One has $Self->{SystemID} = 10; And the other one has: $Self->{SystemID} = 20; The problem is that http://hostname/otrs/index.hmtl and http://hostname/otrs2/index.html are total the same if I load two otrs instances. Both are running the first instance in httpd.conf. If I run each instance seperately, each instance is running okay. One has session id 10****. And the other one has session id 20****. I'm wondering that what else I should modify or update. Thanks in advance for the help! Jimmy Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.

Hi Marrten,
I have two mysql schemas for two otrs instances. But,
very luckily, I found out how to make it work.
In my httpd.conf, besides what I showed you in my
first email, I also have following two parts:
Hi Jimmy,
How have you setup the rest of your system, like database and mail addresses? If both instances for example are using the same db tables, than they are indeed identical.
Maarten
-----Oorspronkelijk bericht----- Van: otrs-admin@otrs.org [mailto:otrs-admin@otrs.org]Namens jimmy zhao Verzonden: zaterdag 10 mei 2003 9:45 Aan: otrs@otrs.org Onderwerp: [otrs] problem with multi hosting setup
Hi there,
I have searched the mailing list and followed what it is said in the manual doc. But, somehow, still can not make it work.
I'm using OTRS1.1, Apache/2.0.40 and mod_perl-1.99_05-3 on Redhat 8 box. I have installed two OTRS instances otrs and otrs2. In the httpd.conf, I have:
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin" Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs" Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
ScriptAlias /otrs2/ "/opt/otrs2/bin/cgi-bin" Alias /otrs2-web/ "/opt/otrs2/var/httpd/htdocs" Perlrequire /opt/otrs2/scripts/apache2-perl-startup.pl
In /opt/otrs/scripts/apache2-perl-startup.pl, I have:
use lib "/opt/otrs"; use lib "/opt/otrs/Kernel/cpan-lib";
In /opt/otrs2/scripts/apache2-perl-startup.pl, I have:
use lib "/opt/otrs2"; use lib "/opt/otrs2/Kernel/cpan-lib";
I have also modified two Kernel/Config.pm. One has $Self->{SystemID} = 10;
And the other one has: $Self->{SystemID} = 20;
The problem is that http://hostname/otrs/index.hmtl and http://hostname/otrs2/index.html are total the same if I load two otrs instances. Both are running the first instance in httpd.conf. If I run each instance seperately, each instance is running okay. One has session id 10****. And the other one has session id 20****.
I'm wondering that what else I should modify or update.
Thanks in advance for the help! Jimmy
__________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com

Hi Jimmy, On Sat, May 10, 2003 at 11:48:30AM -0700, jimmy zhao wrote:
I have two mysql schemas for two otrs instances. But, very luckily, I found out how to make it work.
In my httpd.conf, besides what I showed you in my first email, I also have following two parts:
# ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders </Location> and:
# ErrorDocument 403 /otrs2/customer.pl ErrorDocument 403 /otrs2/index.pl SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders </Location> After I comment out the second part, two instances otrs work fine now. :)
This is because the name space is shared. I never tested to split the
names space in mod_perl2. But it should work like:
Jimmy
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "There are two major products that come out of Berkeley: LSD and Unix. We don't believe this to be a coincidence." -- Jeremy S. Anderson
participants (3)
-
jimmy zhao
-
Maarten Engelen
-
Martin Edenhofer