[rt-users] Two installations (404 on /index.html)

Peter Burkholder peterb at ucar.edu
Sun Apr 27 13:47:06 EDT 2003


There was a thread on this early last year.  See:
  http://lists.fsck.com/pipermail/rt-users/2002-February and look for the
Two Domains, One RT thread.

It seems the cleanest approach, that I'm using, is to use FastCGI instead of
mod_perl (or maybe even SpeedyCGI).

I use two installs of RT3 under /usr/local/rt-dpc and /usr/local/rt-dlese.
That's easier than sym-linking because the options to the ./configure script
will set variables deep inside RT.

My httpd.conf file looks like this (relevant section), and only requires one Apache.

<VirtualHost XX.XX.XX.XX>
    ServerName rt.dpc.example.edu
    DocumentRoot /usr/local/rt3-dpc/share/html
    AddDefaultCharset UTF-8
    FastCgiServer /usr/local/rt3-dpc/bin/mason_handler.fcgi
    Alias /NoAuth/images/ /usr/local/rt3-dpc/share/html/NoAuth/images/
    ScriptAlias / /usr/local/rt3-dpc/bin/mason_handler.fcgi/
    AddHandler fastcgi-script fcgi
</VirtualHost>
<VirtualHost XX.XX.XX.XX> 
    ServerName rt.example.org
    DocumentRoot /usr/local/rt3-dlese/share/html
    AddDefaultCharset UTF-8
    FastCgiServer /usr/local/rt3-dlese/bin/mason_handler.fcgi
    Alias /NoAuth/images/ /usr/local/rt3-dlese/share/html/NoAuth/images/
    ScriptAlias / /usr/local/rt3-dlese/bin/mason_handler.fcgi/
    AddHandler fastcgi-script fcgi
</VirtualHost>


> Message: 1
> Date: Sun, 27 Apr 2003 00:08:53 +0200
> To: rt-users at lists.fsck.com
> From: Paul Guyot <pguyot at kallisys.net>
> Subject: [rt-users] Two installations (404 on /index.html)
> 
> Hi all,
> 
> I'm trying to setup two installations of RT.
> So far, I successfully set one up from FreeBSD port into /usr/local/rt2.
> 
> To setup another installation, I tried the following:
> - install from the tarball (rt-2-0-15.tar.gz), configuring the 
> Makefile to use another DB and path.
> - copy FreeBSD patched version, changed the makefile and try to rebuild
> - copy FreeBSD's directory directly with the permissions.
--
Peter Burkholder, System Administrator
Digital Library for Earth System Education (DLESE -- http://www.dlese.org)
peterb at ucar.edu
DLESE Program Center (DPC)                             ~~~  ~~  ~~~~   __o
UCAR/DPC, P.O. Box 3000       Ph) 303-497-2663       ~~~  ~~~~ ~~    _`\<,_
Boulder, CO 80307-3000        Fx) 303-497-8336  ~~~~ ~~~   ~~~~     (*)/ (*)



More information about the rt-users mailing list