Running 2 RT under one SSL- VirtualHost

Hello
I’m using SSL for RT, and
Since Name-based virtual hosting cannot be used with SSL, I only have 1
SSL-VirtualHost and using alias for rt with in the VirtualHost.

How do I run 2 rt (one for testing and other one for production) in the
same server??

I’m trying to do as below

Even though I defined the PerlRequire with in Directory it still
complaint when I started the apache
**Subroutine handler redefined at /local/host/apps/rttest/bin/webmux.pl
line 121.

If I comment out one PerlRequire, still it doesn’t work .Any one has
done anything similar??

(both RTS and RTTEST works by itself (if I comment out other whole
)

Thanks

General setup for the virtual host

ServerName mailhost.cs.mu.OZ.AU
ServerAdmin http://www.cs.mu.OZ.AU/systems/contact.html
ErrorLog /local/host/apps/httpdmh/logs/ssl_error_log
TransferLog /local/host/apps/httpdmh/logs/ssl_access_log

AddDefaultCharset UTF-8

SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /local/host/apps/httpdmh/conf/mulga-ssl.key/server.crt
SSLCertificateKeyFile /local/host/apps/httpdmh/conf/mulga-ssl.key/server.key

RTS

Alias /rts /usr/local/apps/rt-3.0.8/share/html

<Directory “/usr/local/apps/rt-3.0.8/share/html”>
AllowOverride AuthConfig

AuthName "Request Tracking System, Department of Computer Science 

and Software Engineering, The University of Melbourne"
AuthType Basic
AuthUserFile /local/host/apps/httpdmh/root/passwd

require valid-user

 PerlModule Apache::DBI
 PerlRequire /usr/local/apps/rt-3.0.8/bin/webmux.pl

 SetHandler Perl-script
 PerlHandler RT::Mason

RTTEST

Alias /rttest /local/host/apps/rttest/share/html

<Directory “/local/host/apps/rttest/share/html”>
AllowOverride AuthConfig
AuthName “RTS, Department of CSSE, The University of Melbourne”
AuthType Basic
AuthUserFile /local/host/apps/httpdmh/root/passwd

require valid-user

SetHandler Perl-script
PerlHandler RT::Mason

PerlModule Apache::DBI
PerlRequire /local/host/apps/rttest/bin/webmux.pl

Bypass the authentication for the email interface

<LocationMatch “/NoAuth”>

    Satisfy Any
    Allow from all

warm regards
Vinita Vigine Murugiah
Email : vinita@cs.mu.oz.au Ph : (03) 8344 1273

How do I run 2 rt (one for testing and other one for production) in
the same server??

You can run only one RT instances via mod_perl, use FastCGI for
additional instances (or use it for all instances, if you like).

Sebastian

Sebastian Flothow
sebastian@flothow.de

Because it reverses the logical flow of conversation.

Am 4. Jun 2004 um 06:50 Uhr schrieb vinita vigine MURUGIAH:

How do I run 2 rt (one for testing and other one for production) in
the same server??

You can run only one RT instances via mod_perl, use FastCGI for
additional instances (or use it for all instances, if you like).

It can be done with mod_perl but you have to start another
instance of httpd with a different configuration, bound to
a different IP address or port number. You can make this
transparent by running a non mod_perl httpd configured to
proxy (via ProxyPass or RewriteRules) to multiple mod_perl
instances running on different ports. The FastCGI configuration
is probably easier, though.

Les Mikesell
les@futuresource.com

Install RT in another directory.
Copy your front end to the local directory.
Copy you existing httpd.conf to something like httpd-devel.conf and change
the locations to point to the devel installation
Start up the development server with /httpd -f
/httpd-devel.conf
In your devel conf name sure NameVirtualHost directive looks like:
NameVirtualHost *:

And in your virt host directive:
<VirtualHost *:PORT>

Will start up another apache server using the development conf file which
points to your development instance of rt and saves the need to install
another apache. Can be accessed by going to http://rt:port

A.J.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Les Mikesell
Sent: Friday, June 04, 2004 12:18 PM
To: Sebastian Flothow
Cc: rt-users@lists.bestpractical.com; vinita vigine MURUGIAH
Subject: Re: [rt-users] running 2 RT under one SSL- VirtualHost

Am 4. Jun 2004 um 06:50 Uhr schrieb vinita vigine MURUGIAH:

How do I run 2 rt (one for testing and other one for production) in
the same server??

You can run only one RT instances via mod_perl, use FastCGI for
additional instances (or use it for all instances, if you like).

It can be done with mod_perl but you have to start another
instance of httpd with a different configuration, bound to
a different IP address or port number. You can make this
transparent by running a non mod_perl httpd configured to
proxy (via ProxyPass or RewriteRules) to multiple mod_perl
instances running on different ports. The FastCGI configuration
is probably easier, though.

Les Mikesell
les@futuresource.com

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Developer and Administrator training is coming to LA, DC and Frankfurt
this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

Thanks, it worked, running 2nd instance of apace

Les Mikesell wrote:>On Fri, 2004-06-04 at 05:16, Sebastian Flothow wrote:

Am 4. Jun 2004 um 06:50 Uhr schrieb vinita vigine MURUGIAH:

How do I run 2 rt (one for testing and other one for production) in
the same server??

You can run only one RT instances via mod_perl, use FastCGI for
additional instances (or use it for all instances, if you like).

It can be done with mod_perl but you have to start another
instance of httpd with a different configuration, bound to
a different IP address or port number. You can make this
transparent by running a non mod_perl httpd configured to
proxy (via ProxyPass or RewriteRules) to multiple mod_perl
instances running on different ports. The FastCGI configuration
is probably easier, though.


Les Mikesell
les@futuresource.com


The rt-users Archives

RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

warm regards
Vinita Vigine Murugiah
Email : vinita@cs.mu.oz.au Ph : (03) 8344 1273