Re: [rt-users] My Ticket URL's are wrong When I Link Tickets -- RT 3.8.4

2010-02-11 Thread Kevin Falcone
On Wed, Feb 10, 2010 at 03:16:16PM -0800, Behzad Mahini wrote:
 I am asking this question, since some of the previous communications   
 documentations I looked at, were alarming when it came to changing  
 some of the settings of RT_SiteConfig, when RT  has been up  running  
 for a while,..and obviously that is my scenario.
 
 When I link tickets, in the Links section of my Ticket history/ 
 metadata, I 'll end up getting a hyperlink that does not use my domain  
 name, and has localhost showing up in it, as follows:
 
   http://localhost/Ticket/Display.html?id=12345
 
   instead of:
 
   http://MY_DOMAIN_NAME/Ticket/Display.html?id=12345
 
 
 My RT_SiteConfig.pm, with the related settings:
 
   Set($DatabaseHost, 'localhost');
   Set($DatabaseRTHost, 'localhost');
   Set( $rtname, 'MY_DOMAIN.com');
   Set($WebDomain, 'localhost');
   Set($RTAddressRegexp, '^my_us...@my_domain.xyz.com$');
   Set($CanonicalizeEmailAddressMatch, '@MY_DOMAIN\.com$');
   Set($CanonicalizeEmailAddressReplace, '@MY_DOMAIN.com');
 
   Set($WebPath, );
   Set($WebBaseURL, ($port == 443? 'https': 'http') .'://' . RT-Config- 
  Get('WebDomain') . ($port != 80  $port != 443? :$port : '') );
   Set($WebURL, RT-Config-Get('WebBaseURL') . RT-Config- 
  Get('WebPath') . /);
   #Set($Organization , example.com);
 
 ..and my RT_Config.pm:
 
   Set($Organization , example.com);
 
 
 Questions:
   1) I have already hundreds of tickets generated through different  
 Queues, and If I were to replace:
   Set($WebDomain, 'localhost');
   with:
   Set($WebDomain, 'MY_DOMAIN.com');
 
   Will that address my localhost issue (i.e., Correcting the 
 Link  
 URL), without causing negative side effects?

This is fine and you should fix this

   2) Since currently I don't have my $Organization defined per my  
 RT_SiteConfig.pm, and I presume since RT_Config.pm has it defined as  
 example.com, I am receiving some
emails as follows:
 
   ticket#...@example.com
 
   Again, If I were to remedy this separate issue, by adding the  
 following in my RT_SIteConfig.pm:
   Set($Organization , MY_DOMAIN.com);
 
   Will that address this other issue, without causing negative 
 side  
 effects.

This will break your existing ticket links unless you clean up the DB

-kevin


pgpbabsJlkxzK.pgp
Description: PGP signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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

Re: [rt-users] My Ticket URL's are wrong When I Link Tickets -- RT 3.8.4

2010-02-11 Thread Behzad Mahini
Folks,

I really appreciate any help I get.

Thanks,
Behzad
On Feb 10, 2010, at 3:16 PM, Behzad Mahini wrote:

 I am asking this question, since some of the previous communications  
  documentations I looked at, were alarming when it came to changing  
 some of the settings of RT_SiteConfig, when RT  has been up   
 running for a while,..and obviously that is my scenario.

 When I link tickets, in the Links section of my Ticket history/ 
 metadata, I 'll end up getting a hyperlink that does not use my  
 domain name, and has localhost showing up in it, as follows:

   http://localhost/Ticket/Display.html?id=12345

   instead of:

   http://MY_DOMAIN_NAME/Ticket/Display.html?id=12345


 My RT_SiteConfig.pm, with the related settings:

   Set($DatabaseHost, 'localhost');
   Set($DatabaseRTHost, 'localhost');
   Set( $rtname, 'MY_DOMAIN.com');
   Set($WebDomain, 'localhost');
   Set($RTAddressRegexp, '^my_us...@my_domain.xyz.com$');
   Set($CanonicalizeEmailAddressMatch, '@MY_DOMAIN\.com$');
   Set($CanonicalizeEmailAddressReplace, '@MY_DOMAIN.com');

   Set($WebPath, );
   Set($WebBaseURL, ($port == 443? 'https': 'http') .'://' . RT- 
 Config-Get('WebDomain') . ($port != 80  $port != 443? :$port :  
 '') );
   Set($WebURL, RT-Config-Get('WebBaseURL') . RT-Config- 
 Get('WebPath') . /);
   #Set($Organization , example.com);

 ..and my RT_Config.pm:

   Set($Organization , example.com);


 Questions:
   1) I have already hundreds of tickets generated through different  
 Queues, and If I were to replace:
   Set($WebDomain, 'localhost');
   with:
   Set($WebDomain, 'MY_DOMAIN.com');

   Will that address my localhost issue (i.e., Correcting the 
 Link  
 URL), without causing negative side effects?

   2) Since currently I don't have my $Organization defined per my  
 RT_SiteConfig.pm, and I presume since RT_Config.pm has it defined as  
 example.com, I am receiving some
emails as follows:

   ticket#...@example.com

   Again, If I were to remedy this separate issue, by adding the  
 following in my RT_SIteConfig.pm:
   Set($Organization , MY_DOMAIN.com);

   Will that address this other issue, without causing negative 
 side  
 effects.


 Thanks,
 Behzad



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

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] My Ticket URL's are wrong When I Link Tickets -- RT 3.8.4

2010-02-11 Thread Behzad Mahini
Sorry for my previous repeat question, as there was a delay in our  
mailserver to receive this response.


I have a followup question, see inlines below.

Thanks,
Behzad





2) Since currently I don't have my $Organization defined per my
RT_SiteConfig.pm, and I presume since RT_Config.pm has it defined as
example.com, I am receiving some
 emails as follows:

ticket#...@example.com

Again, If I were to remedy this separate issue, by adding the
following in my RT_SIteConfig.pm:
Set($Organization , MY_DOMAIN.com);

Will that address this other issue, without causing negative 
side
effects.


This will break your existing ticket links unless you clean up the DB


What do I need to do specifically for DB cleanup?


-kevin


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

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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

[rt-users] My Ticket URL's are wrong When I Link Tickets -- RT 3.8.4

2010-02-10 Thread Behzad Mahini
I am asking this question, since some of the previous communications   
documentations I looked at, were alarming when it came to changing  
some of the settings of RT_SiteConfig, when RT  has been up  running  
for a while,..and obviously that is my scenario.

When I link tickets, in the Links section of my Ticket history/ 
metadata, I 'll end up getting a hyperlink that does not use my domain  
name, and has localhost showing up in it, as follows:

http://localhost/Ticket/Display.html?id=12345

instead of:

http://MY_DOMAIN_NAME/Ticket/Display.html?id=12345


My RT_SiteConfig.pm, with the related settings:

Set($DatabaseHost, 'localhost');
Set($DatabaseRTHost, 'localhost');
Set( $rtname, 'MY_DOMAIN.com');
Set($WebDomain, 'localhost');
Set($RTAddressRegexp, '^my_us...@my_domain.xyz.com$');
Set($CanonicalizeEmailAddressMatch, '@MY_DOMAIN\.com$');
Set($CanonicalizeEmailAddressReplace, '@MY_DOMAIN.com');

Set($WebPath, );
Set($WebBaseURL, ($port == 443? 'https': 'http') .'://' . RT-Config- 
 Get('WebDomain') . ($port != 80  $port != 443? :$port : '') );
Set($WebURL, RT-Config-Get('WebBaseURL') . RT-Config- 
 Get('WebPath') . /);
#Set($Organization , example.com);

..and my RT_Config.pm:

Set($Organization , example.com);


Questions:
1) I have already hundreds of tickets generated through different  
Queues, and If I were to replace:
Set($WebDomain, 'localhost');
with:
Set($WebDomain, 'MY_DOMAIN.com');

Will that address my localhost issue (i.e., Correcting the 
Link  
URL), without causing negative side effects?

2) Since currently I don't have my $Organization defined per my  
RT_SiteConfig.pm, and I presume since RT_Config.pm has it defined as  
example.com, I am receiving some
 emails as follows:

ticket#...@example.com

Again, If I were to remedy this separate issue, by adding the  
following in my RT_SIteConfig.pm:
Set($Organization , MY_DOMAIN.com);

Will that address this other issue, without causing negative 
side  
effects.


Thanks,
Behzad


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

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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