Hi all,
I have an issue with the links to parent/child tickets in the links
section of the ticket view. (RT-3.8.1 gentoo)
They are absolute, and not relative.
I have users logging on to the same RT from different domains, but all
parent/child tickets link to the mydomain.com domain, which is in my
RT_SiteConfig.pm
I couldn’t understand the URL functions of RT’s innards, so can anyone
provide me with a quick solution to this issue?
I have:
RT_SiteConfig.pm:Set($Organization , “mydomain.com”);
RT_SiteConfig.pm:Set($WebBaseURL , “http://rt.mydomain.com:$WebPort”);
in my RT_SiteConfig.pm,
Could I just remove the WebBaseURL altogether?
Thanks in Advance
Woody.
Hi all,
Sorry to reply to my own post, but I’ve had no reply, and am wondering
if I’m asking a really stupid question, or something obvious.
Please let me know if this is the case, as I can’t figure it out myself 
Woody.
Woody - Wild Things wrote:
Sorry to reply to my own post, but I’ve had no reply, and am wondering
if I’m asking a really stupid question, or something obvious.
Please let me know if this is the case, as I can’t figure it out
myself 
You have to locally change Elements/ShowLinks (and possibly
URI.pm). Because a Ticket can “Refer To” an external URI, RT
generates full URI for every link.
-kevin
Kevin Falcone wrote:
You have to locally change Elements/ShowLinks (and possibly
URI.pm). Because a Ticket can “Refer To” an external URI, RT
generates full URI for every link.
Thanks Kevin,
I’d looked at ShowLinks, and then on to URI.pm, but I’m afraid the perl
is beyond me.
I understand now why its a full URI, but I don’t think I need to refer
to external URIs. I’m sure it’d be a simple code change to remove the
domain part of the URI, but I can’t see how it gets added. Could anyone
suggest what I should change for relative URIs only?
thanks
Woody.