[rt-users] how to have two RT instances set in apache ?

Dario Luis Coneglian Oliveros oliveros at cpqd.com.br
Tue Aug 15 17:03:55 EDT 2006


I've been trying to setup two RT instances in apache, but only one works 
at a time.
It may be some apache configuration issue, but can't figure out what 
it's wrong.
Any help will be very appreciated.
Please find below both files:
::::::::::::::
rt-cpqd-commons.conf
::::::::::::::
Alias /cpqd-commons /l/disk0/tools/rt/cpqd-commons/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /l/disk0/tools/rt/cpqd-commons/bin/webmux.pl
<Location /cpqd-commons>
    Options None
    SetHandler perl-script
    PerlHandler RT::Mason
    <IfDefine PerlDProf>
        <IfDefine PerlSmallProf>
            PerlFixupHandler Apache::SmallProf
        </IfDefine>
    </IfDefine>
</Location>
<LocationMatch "/cpqd-commons/NoAuth">
    Satisfy Any
    Allow from all
</LocationMatch>
<Location /cpqd-commons/NoAuth/images>
    SetHandler default-handler
</Location>
<IfDefine PerlStatus>
    <Location /cpqd-commons/perl-status>
        SetHandler perl-script
        PerlHandler Apache2::Status
        PerlSetVar StatusOptionsAll On
        PerlSetVar StatusTerse On
        PerlSetVar StatusTerseSize On
        PerlSetVar StatusTerseSizeMainSummary On
        PerlSetVar StatusLexInfo On
    </Location>
</IfDefine>
::::::::::::::
rt-cpqd-gp.conf
::::::::::::::
Alias /cpqd-gp /l/disk0/tools/rt/cpqd-gp/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /l/disk0/tools/rt/cpqd-gp/bin/webmux.pl
<Location /cpqd-gp>
    Options None
    SetHandler perl-script
    PerlHandler RT::Mason
    <IfDefine PerlDProf>
        <IfDefine PerlSmallProf>
            PerlFixupHandler Apache::SmallProf
        </IfDefine>
    </IfDefine>
</Location>
<LocationMatch "/cpqd-gp/NoAuth">
    Satisfy Any
    Allow from all
</LocationMatch>
<Location /cpqd-gp/NoAuth/images>
    SetHandler default-handler
</Location>
<IfDefine PerlStatus>
    <Location /cpqd-gp/perl-status>
        SetHandler perl-script
        PerlHandler Apache2::Status
        PerlSetVar StatusOptionsAll On
        PerlSetVar StatusTerse On
        PerlSetVar StatusTerseSize On
        PerlSetVar StatusTerseSizeMainSummary On
        PerlSetVar StatusLexInfo On
    </Location>
</IfDefine> 







More information about the rt-users mailing list