Hostname missing in generated URLs after update (CentOS 5.3)

Hello,

On Jun 20, we did a routine update of the CentOS 5.3 box running RT/RTFM/RTIR (all the latest versions). Right afterward, the host name disappeared from all the URLs in RT. Users can still log in, but all the links on the page have the host name missing.

A fresh install of the latest RT (with no plugins at all, just bare bones RT 3.8.4) on a CentOS 5.3 box that was fully patched prior to beginning the RT installation results in exactly the same behavior.

Examples:

[Home] → http:///
[Simple Search] ->> http://search/Simple.html
[Tickets] → http://search/Build.html

and so on.

Forgive me if this has been addressed. I looked through all the recent posts and couldn’t find anything addressing this issue.

These are the modules from that were updated with the CentOS “yum update” command.

Jun 20 16:33:36 Updated: 1:perl-Module-Build-0.33-2.el5.rf.noarch
Jun 20 16:33:38 Updated: perl-Test-Inline-2.210-1.el5.rf.noarch
Jun 20 16:33:38 Updated: nash-5.1.19.6-44.1.i386
Jun 20 16:33:40 Updated: perl-Test-Deep-0.104-1.el5.rf.noarch
Jun 20 16:33:44 Updated: kernel-headers-2.6.18-128.1.14.el5.i386
Jun 20 16:33:47 Updated: perl-Sub-Uplevel-0.2002-1.el5.rf.noarch
Jun 20 16:33:57 Updated: tzdata-2009i-2.el5.noarch
Jun 20 16:33:58 Updated: perl-UNIVERSAL-require-0.13-1.el5.rf.noarch
Jun 20 16:34:05 Updated: xulrunner-1.9.0.11-3.el5.i386
Jun 20 16:34:06 Installed: perl-version-0.76-1.el5.rf.i386
Jun 20 16:34:08 Updated: mkinitrd-5.1.19.6-44.1.i386
Jun 20 16:34:10 Updated: apr-util-1.2.7-7.el5_3.1.i386
Jun 20 16:34:18 Updated: xulrunner-devel-1.9.0.11-3.el5.i386
Jun 20 16:34:20 Updated: cscope-15.5-15.1.el5_3.1.i386
Jun 20 16:34:21 Updated: perl-Text-MediawikiFormat-1.0-1.el5.rf.noarch
Jun 20 16:34:22 Updated: perl-Text-Autoformat-1.666.0-1.el5.rf.noarch
Jun 20 16:34:47 Installed: kernel-2.6.18-128.1.14.el5.i686

The only odd things I see in the Apache logs are lines like this one:
172.16.31.37 - - [24/Jun/2009:11:48:47 -0500] “GET /Search/Results.rdf?Order=ASC%7CASC%7CASC%7CASC&OrderBy=id%7C%7C%7C&Query=Queue%20%3D%20%27General%27 HTTP/1.1” 200 5443 “-” “Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)”

Nothing odd in Apache’s error_log

Thanks!

Tim Pearson
Systems Administrator
Pittsburg State University
620-235-6562

Fixed…

I believe that removing a trailing slash from the DocumentRoot directive in the VirtualHost definition for RT did the trick. That trailing shash has been there all along - but I guess after the update it now matters.----- Original Message -----
From: “Timothy M. Pearson” tpearson@ois.pittstate.edu
To: “rt-users” rt-users@lists.bestpractical.com
Sent: Thursday, June 25, 2009 11:05:19 AM GMT -06:00 US/Canada Central
Subject: [rt-users] Hostname missing in generated URLs after update (CentOS 5.3)

Hello,

On Jun 20, we did a routine update of the CentOS 5.3 box running RT/RTFM/RTIR (all the latest versions). Right afterward, the host name disappeared from all the URLs in RT. Users can still log in, but all the links on the page have the host name missing.

A fresh install of the latest RT (with no plugins at all, just bare bones RT 3.8.4) on a CentOS 5.3 box that was fully patched prior to beginning the RT installation results in exactly the same behavior.

Examples:

[Home] → http:///
[Simple Search] ->> http://search/Simple.html
[Tickets] → http://search/Build.html

and so on.

Forgive me if this has been addressed. I looked through all the recent posts and couldn’t find anything addressing this issue.

These are the modules from that were updated with the CentOS “yum update” command.

Jun 20 16:33:36 Updated: 1:perl-Module-Build-0.33-2.el5.rf.noarch
Jun 20 16:33:38 Updated: perl-Test-Inline-2.210-1.el5.rf.noarch
Jun 20 16:33:38 Updated: nash-5.1.19.6-44.1.i386
Jun 20 16:33:40 Updated: perl-Test-Deep-0.104-1.el5.rf.noarch
Jun 20 16:33:44 Updated: kernel-headers-2.6.18-128.1.14.el5.i386
Jun 20 16:33:47 Updated: perl-Sub-Uplevel-0.2002-1.el5.rf.noarch
Jun 20 16:33:57 Updated: tzdata-2009i-2.el5.noarch
Jun 20 16:33:58 Updated: perl-UNIVERSAL-require-0.13-1.el5.rf.noarch
Jun 20 16:34:05 Updated: xulrunner-1.9.0.11-3.el5.i386
Jun 20 16:34:06 Installed: perl-version-0.76-1.el5.rf.i386
Jun 20 16:34:08 Updated: mkinitrd-5.1.19.6-44.1.i386
Jun 20 16:34:10 Updated: apr-util-1.2.7-7.el5_3.1.i386
Jun 20 16:34:18 Updated: xulrunner-devel-1.9.0.11-3.el5.i386
Jun 20 16:34:20 Updated: cscope-15.5-15.1.el5_3.1.i386
Jun 20 16:34:21 Updated: perl-Text-MediawikiFormat-1.0-1.el5.rf.noarch
Jun 20 16:34:22 Updated: perl-Text-Autoformat-1.666.0-1.el5.rf.noarch
Jun 20 16:34:47 Installed: kernel-2.6.18-128.1.14.el5.i686

The only odd things I see in the Apache logs are lines like this one:
172.16.31.37 - - [24/Jun/2009:11:48:47 -0500] “GET /Search/Results.rdf?Order=ASC%7CASC%7CASC%7CASC&OrderBy=id%7C%7C%7C&Query=Queue%20%3D%20%27General%27 HTTP/1.1” 200 5443 “-” “Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)”

Nothing odd in Apache’s error_log

Thanks!

Tim Pearson
Systems Administrator
Pittsburg State University
620-235-6562
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