Redirect RT login page - where does that happen?

Hi RT-experts,

I’ve have RT 3.6.6 on a Solaris 9 machine and all is well – but I need
to redirect my old
machine (another solaris 9, but with RT 3.6.3 not sending emails any
more) – so that the users are using RT on the
new machine. I’ve been looking at share/html/index.html but I’m not
following how to jump in BEFORE and
redirect the page to another server. Help!

If share/html/index.html is the first thing that gets executed, and it
calls /Elements/Header – how do I stop
it there and redirect?
Is the redirect in VirtualHost – (I’ve tried replacing the
servername…)???

ServerAdmin webadmin@haruspex.ucsd.edu DocumentRoot "/opt/csw/apache/htdocs" ServerName haruspex.ucsd.edu ErrorLog logs/error_log_haruspex CustomLog logs/access_log_haruspex combined Alias /rt3 "/opt/csw/rt3/share/html" AddDefaultCharset UTF-8
    PerlModule Apache::DBI
    PerlRequire /opt/csw/rt3/bin/webmux.pl

    <Location /rt3>
            SetHandler perl-script
            PerlHandler RT::Mason
    </Location>

Thanks for any advice/direction – I’m a complete novice with web
intricacies so I appreciate the help.

  • Judy

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Judy Illeman Gaukel
Sent: 29 April 2008 23:03

Hi RT-experts,

I’ve have RT 3.6.6 on a Solaris 9 machine and all is well –
but I need
to redirect my old
machine (another solaris 9, but with RT 3.6.3 not sending emails any
more) – so that the users are using RT on the
new machine. I’ve been looking at share/html/index.html

Judy:

I think it would be best just to use a redirect on the old apache server,
forcing all requests to go to the new server. Something like the following -
assuming this is the config on your old server.

ServerAdmin webadmin@haruspex.ucsd.edu DocumentRoot "/opt/csw/apache/htdocs" ServerName haruspex.ucsd.edu ErrorLog logs/error_log_haruspex CustomLog logs/access_log_haruspex combined
RedirectMatch permanent ^(.*)$ http://newserver.ucsd.edu$1
  • barry