Reqest Tracker CentOS 5.3 setup

Hi Moseley,

Here is my configuration on httpd.conf.

<VirtualHost 172.16.0.1:80>
ServerName rt.abc.com
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/httpd/rt.abc.com_error
CustomLog /var/log/httpd/rt.abc.com-access_log common
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi

but it doesn’t work for me.

note: http://172.16.0.1/rt is working fine.

would you please advise on this issue?

regards,
chantyFrom: "jmoseley@corp.xanadoo.com" jmoseley@corp.xanadoo.com
To: ty chan chanty_kh@yahoo.com
Cc: rt-users@lists.bestpractical.com; rt-users-bounces@lists.bestpractical.com
Sent: Thursday, July 2, 2009 8:43:42 PM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

Threre really isn’t much difference in the Apache configuration if using a
virtual host. Simply put the RT apache config in a virtual host stanza:

ServerName somertserver.com

RT config lines…

The above example would use the default IP of the server and listen on port
80. You could also add other lines so that RT has its own log file, etc.
I believe there are several virtual host configuration examples in the
wiki.

James Moseley

         ty chan                                                      
         <chanty_kh@yahoo.                                            
         com>                                                       To 
                                  jmoseley@corp.xanadoo.com, Grant    
         07/02/2009 02:11          Deters <gdeters@usd250.org>        
         AM                                                         cc 
                                  rt-users@lists.bestpractical.com,  
                                  rt-users-bounces@lists.bestpractica 
                                  l.com                              
                                                               Subject 
                                   Re: [rt-users] Reqest Tracker      
                                   CentOS 5.3 setup                    

Hi Moseley,

You guid how to configure virtualhost on apache for RT also.

best regards,
chanty

Hi Chanty,

First thing I notice is you have 2 slashes on your ScriptAlias line.

And then the dumb question, as you didn’t elaborate. You did reload the
apache server after making the changes.

What is the output in your error logs when you try to hit your RT server by
name?

What error does apache spit to the browser?

Thanks,
Bill G.On Thu, Jul 2, 2009 at 7:48 PM, ty chan chanty_kh@yahoo.com wrote:

Hi Moseley,

Here is my configuration on httpd.conf.

<VirtualHost 172.16.0.1:80>
ServerName rt.abc.com
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/httpd/rt.abc.com_error
CustomLog /var/log/httpd/rt.abc.com-access_log common
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi

but it doesn’t work for me.

note: http://172.16.0.1/rt is working fine.

would you please advise on this issue?

regards,
chanty


From: "jmoseley@corp.xanadoo.com" jmoseley@corp.xanadoo.com
To: ty chan chanty_kh@yahoo.com
Cc: rt-users@lists.bestpractical.com;
rt-users-bounces@lists.bestpractical.com
Sent: Thursday, July 2, 2009 8:43:42 PM

Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

Threre really isn’t much difference in the Apache configuration if using a
virtual host. Simply put the RT apache config in a virtual host stanza:

ServerName somertserver.com

RT config lines…

The above example would use the default IP of the server and listen on port
80. You could also add other lines so that RT has its own log file, etc.
I believe there are several virtual host configuration examples in the
wiki.

James Moseley

        ty chan
        <chanty_kh@yahoo.
        com>                                                      To
                                  jmoseley@corp.xanadoo.com, Grant
        07/02/2009 02:11          Deters <gdeters@usd250.org>
        AM                                                        cc
                                  rt-users@lists.bestpractical.com,
                                  rt-users-bounces@lists.bestpractica
                                  l.com
                                                              Subject
                                  Re: [rt-users] Reqest Tracker
                                  CentOS 5.3 setup

Hi Moseley,

You guid how to configure virtualhost on apache for RT also.

best regards,
chanty


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

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Bill Graboyes
On Assignment At:
Toyota Motor Sales, USA, Inc.
Consumer Portal Delivery
Office: (310) 468-6754
Cell: (714) 515-8312

Hi Chanty,

I shouldn’t be doing this at the time of night it is currently… Disregard
my ScriptAlias comment…

and I have another question…

Have you tried hitting rt.abc.com/rt ? Since it seems to work when you hit
the server by IP.On Thu, Jul 2, 2009 at 11:51 PM, William Graboyes < william.graboyes@theportalgrp.com> wrote:

Hi Chanty,

First thing I notice is you have 2 slashes on your ScriptAlias line.

And then the dumb question, as you didn’t elaborate. You did reload the
apache server after making the changes.

What is the output in your error logs when you try to hit your RT server by
name?

What error does apache spit to the browser?

Thanks,
Bill G.

On Thu, Jul 2, 2009 at 7:48 PM, ty chan chanty_kh@yahoo.com wrote:

Hi Moseley,

Here is my configuration on httpd.conf.

<VirtualHost 172.16.0.1:80>
ServerName rt.abc.com
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/httpd/rt.abc.com_error
CustomLog /var/log/httpd/rt.abc.com-access_log common
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi

but it doesn’t work for me.

note: http://172.16.0.1/rt is working fine.

would you please advise on this issue?

regards,
chanty


From: "jmoseley@corp.xanadoo.com" jmoseley@corp.xanadoo.com
To: ty chan chanty_kh@yahoo.com
Cc: rt-users@lists.bestpractical.com;
rt-users-bounces@lists.bestpractical.com
Sent: Thursday, July 2, 2009 8:43:42 PM

Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

Threre really isn’t much difference in the Apache configuration if using a
virtual host. Simply put the RT apache config in a virtual host stanza:

ServerName somertserver.com

RT config lines…

The above example would use the default IP of the server and listen on
port
80. You could also add other lines so that RT has its own log file, etc.
I believe there are several virtual host configuration examples in the
wiki.

James Moseley

        ty chan
        <chanty_kh@yahoo.
        com>                                                      To
                                  jmoseley@corp.xanadoo.com, Grant

        07/02/2009 02:11          Deters <gdeters@usd250.org>
        AM                                                        cc
                                  rt-users@lists.bestpractical.com,
                                  rt-users-bounces@lists.bestpractica
                                  l.com
                                                              Subject
                                  Re: [rt-users] Reqest Tracker
                                  CentOS 5.3 setup

Hi Moseley,

You guid how to configure virtualhost on apache for RT also.

best regards,
chanty


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

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Bill Graboyes
On Assignment At:
Toyota Motor Sales, USA, Inc.
Consumer Portal Delivery
Office: (310) 468-6754
Cell: (714) 515-8312

Bill Graboyes
On Assignment At:
Toyota Motor Sales, USA, Inc.
Consumer Portal Delivery
Office: (310) 468-6754
Cell: (714) 515-8312

Perhaps you didn’t reload apache? With the script alias you have below,
http://172.16.0.1/rt should not be working. Look at the apache error logs

  • that will give some clues as to what’s going on.

James Moseleyty chan chanty_kh@yahoo.com wrote:

Hi Moseley,

Here is my configuration on httpd.conf.

<VirtualHost 172.16.0.1:80>
ServerName rt.abc.com
DocumentRoot /opt/rt3/share/html
ErrorLog /var/log/httpd/rt.abc.com_error
CustomLog /var/log/httpd/rt.abc.com-access_log common
AddHandler fastcgi-script fcgi
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi

but it doesn’t work for me.

note: http://172.16.0.1/rt is working fine.

Hi Bill,

rt.abc.com/rt is working for me.

note: eveytime i change something on the apache, i did restart the service.

regards,
chantyFrom: William Graboyes william.graboyes@theportalgrp.com
To: ty chan chanty_kh@yahoo.com
Cc: jmoseley@corp.xanadoo.com; rt-users@lists.bestpractical.com; rt-users-bounces@lists.bestpractical.com
Sent: Friday, July 3, 2009 1:55:11 PM
Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup

Hi Chanty,

I shouldn’t be doing this at the time of night it is currently… Disregard my ScriptAlias comment…

and I have another question…

Have you tried hitting rt.abc.com/rt ? Since it seems to work when you hit the server by IP.