RE: [otrs] problem with multi hosting setup

Hi Martin, I have tested with your suggestion. There are some error messages. PerlOptions +ParseHeaders +Parent --> Invalid per-directory PerlOption: Parent (only allowed per-server) PerlInterpMaxRequests 1 --> PerlInterpMaxRequests not allowed here PerlInterpStart 1 --> PerlInterpStart not allowed here PerlInterpMax 1 --> PerlInterpMax not allowed here PerlSwitches -Mlib --> PerlSwitches not allowed here Maybe it's because that my mod_perl2 package is not updated? Curently, I have mod_perl-1.99_05-3 and Apache/2.0.40 on my system. Thanks, Jimmy
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:
ErrorDocument 403 /otrs/index.pl SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders +Parent PerlInterpMaxRequests 1 PerlInterpStart 1 PerlInterpMax 1 </Location>
ErrorDocument 403 /otrs2/index.pl SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders +Parent PerlInterpMaxRequests 1 PerlInterpStart 1 PerlInterpMax 1 </Location>
Source: http://perl.apache.org/docs/2.0/user/config/config.html -=> Parent
Feedback would be fine! :)
PS: Better would be "PerlSwitches -Mlib" with virtual hosts.
Jimmy
Martin
__________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com

Hi Jimmy, On Sat, May 10, 2003 at 10:01:27PM -0700, jimmy zhao wrote:
I have tested with your suggestion. There are some error messages.
PerlOptions +ParseHeaders +Parent --> Invalid per-directory PerlOption: Parent (only allowed per-server)
PerlInterpMaxRequests 1 --> PerlInterpMaxRequests not allowed here
PerlInterpStart 1 --> PerlInterpStart not allowed here
PerlInterpMax 1 --> PerlInterpMax not allowed here
PerlSwitches -Mlib --> PerlSwitches not allowed here
Maybe it's because that my mod_perl2 package is not updated? Curently, I have mod_perl-1.99_05-3 and Apache/2.0.40 on my system.
Puh! I don't know the answer. I think this is a question for modperl <at> perl.apache.org (http://perl.apache.org/maillist/modperl.html).
Thanks, Jimmy
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl
participants (2)
-
jimmy zhao
-
Martin Edenhofer