Multiple Apache + RT instances

I have two instances of Apache with mod_perl compiled in and two working
instances of RT running on one machine. It has one ip address with two DNS
IDs pointing at it. One Apache instance listens on port 80, the other on
port 8080.

Right now, to get to the port 8080 instance, the user must type “:8080” at
the end of the URL… I have read on this list that some combination of
mod_proxy, mod_rewrite, and virtual host directives in the httpd.conf of
the port 80 Apache can make requests to the second URL go to the port 8080
Apache/RT instance without the port reference.

I’ve tried this, but to no avail. Suggestions appreciated.

Right now, to get to the port 8080 instance, the user must type “:8080” at
the end of the URL… I have read on this list that some combination of
mod_proxy, mod_rewrite, and virtual host directives in the httpd.conf of
the port 80 Apache can make requests to the second URL go to the port 8080
Apache/RT instance without the port reference.

this is a function of mod_rewrite (that makes use of mod_proxy). It’s
extensively documented at apache.

seph

Does this help perhaps?
I used to have this for ntop…

<VirtualHost 123.456.789.012>
DocumentRoot /home/ntop
ProxyPass /ntop/ http://localhost:8080/
ServerName ntop.domain.com
Options FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_REFERER} ntop.domain.com/ntop
RewriteCond %{REQUEST_URI} !^/ntop
RewriteRule ^/(.*)$ http://ntop.domain.com/ntop/$1 [L,P]

Regards,
Aleš-----Original Message-----
From: rt-users-admin@lists.fsck.com [mailto:rt-users-admin@lists.fsck.com]
On Behalf Of Joseph McCarty
Sent: Friday, September 26, 2003 11:35 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] multiple Apache + RT instances

I have two instances of Apache with mod_perl compiled in and two working
instances of RT running on one machine. It has one ip address with two DNS
IDs pointing at it. One Apache instance listens on port 80, the other on
port 8080.

Right now, to get to the port 8080 instance, the user must type “:8080” at
the end of the URL… I have read on this list that some combination of
mod_proxy, mod_rewrite, and virtual host directives in the httpd.conf of
the port 80 Apache can make requests to the second URL go to the port 8080
Apache/RT instance without the port reference.

I’ve tried this, but to no avail. Suggestions appreciated.

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm