[rt-users] RTAT Import?

2008-04-29 Thread Jean-Sebastien Morisset
Has anyone developed a script or something to import an inventory into
AT (from a csv file, for example)?

js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] RTAT Import?

2008-04-29 Thread Matthew Keller
The script below takes a tab-delimited file of format:

AssetTag Make Model Serial Building Room MACAddress

And populated a bunch of CFs. Salt to taste.



On Tue, 2008-04-29 at 14:01 +, Jean-Sebastien Morisset wrote:
 Has anyone developed a script or something to import an inventory into
 AT (from a csv file, for example)?
 
 js.


#!/usr/bin/perl


use lib qw(/opt/rt3/local/lib /opt/rt3/lib);

use RT;
use RTx::AssetTracker::Asset;
RT::LoadConfig();
RT::Init();

use strict;


 MAIN 


my $BFILE=/opt/rt3/wslist;


open(BF,$BFILE) or die $!\n;

my $ass = RTx::AssetTracker::Asset-new(RT-SystemUser);

while(BF) {
# 12478 Gateway E4100   0032459740  KEL-HL  219
00:0C:F1:D5:49:2E
chomp;
my @lineparts=split(/\t/);
my $sysname=$lineparts[4];
$sysname =~ s/\W.*$//; # Strip from non-word to eol
$sysname .= $lineparts[5] . - . $lineparts[0];

my ($id, undef, undef) = $ass-Create(Type =
'Workstations', 
Name =
$sysname,
Status =
'production',
'CustomField-7'
= $lineparts[0], # Decal
'CustomField-3'
= $lineparts[1], # Make
'CustomField-4'
= $lineparts[2], # Model
'CustomField-8'
= $lineparts[3], # Serial
'CustomField-59'
= $lineparts[4], # Building
'CustomField-60'
= $lineparts[5], # Room
'CustomField-62'
= $lineparts[6], # MAC address
);
print $sysname created with id $id\n;
}


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Dropdown lists for users only show 'Nobody'

2008-04-29 Thread Quentin Garnier
Hi,

I'm currently in the process of upgrading our RT installation from 3.4.6
to 3.6.6, and while most of it went ok, I am faced with the weird issue
mentioned in the subject.

If I set IncludeSystemRights to 0, or at least comment its use in
Users_Overlay.pm's _GetEquivObjects, I get the list of users I expect
(would it be for the Reminder box, or the Owner box in the People page,
both use the same underlying element).

I'm guessing it works in an out-of-the-box installation of RT, so it has
to be something with our database.  Does anyone have an idea what we
could have screwed up over time in our database so that setting
IncludeSystemRights actually prevents users from being listed in the
context of html/Elements/SelectOwner?

Thanks,

-- 
Quentin Garnier - [EMAIL PROTECTED] - [EMAIL PROTECTED]
See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

[rt-users] No recipients found. Not sending. SendEmail.pm:250

2008-04-29 Thread Charnjit Sidhu
Help!

Hi,

I know this has been posted before on the mailing lists but the issue I have is 
not consistant.

When updating and resolving a ticket from the system, Reply to requester and cc 
from a ticket works when sending an email out form the RT system if sent by 
user Root, however when I try to do the same as a normal user it does not work, 
and the only message I receive in /var/log/messages is:

No recipients found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:250)

The odd thing is I can send emails out from a normal user to external email 
addresses, the only difference I can see in the name is a dot ie:

[EMAIL PROTECTED]  will not work

but if I send an email to [EMAIL PROTECTED] it works.

if the dot in the local part of the email address is the issue then should the 
issue also occure when sending to the same address from root? 

Also When the ticket is created through an email the autoreply works and sends 
out a message without any problems.

It may have something to do with file permissions, but I have given superuser 
functionality to all users in RT, but the problem still persists.

Have been looking at this issue for over a week and am stuck, as it is not 
consistent. After reading the posts I have tried making the changes suggested 
like adding watchers and checking file permissions but none have worked.

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] RT::Date and Timezones

2008-04-29 Thread Carlos Silva
Hi all,

I'm having problems working with the RT::Date module. RT internal dates 
like Created and Due Date are working correctly, but the dates I work on 
in my scrips while using this module are wrong by an hour (I'm currently 
on BST/GMT+1 and RT::Date seems to be working on GMT, I think).
I suspect it to be related with timezone information that the RT::Date 
module isn't compensating for in my code, but that the RT web interface 
takes in consideration.

I've seen on the mailing lists that this was worked on and corrected for 
3.6.4 . I'm currently using 3.6.5 . Is this still an issue or am I 
missing something ?

Thanks and regards,
Carlos Silva
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Link issues in the Tickets section (ie: static search)

2008-04-29 Thread Nelson Pereira
Hi all,

 

I've noticed a problem that I'm unsure when it actually started.

 

When you click on the Tickets link (
https://domain.com/Search/Build.html) at the top of the page in RT at a
glance,

When you click on one of the tickets that show up, the link is wrong,
hence brings you to a page cannot be displayed.

 

The link looks like this: https://ticket/Display.html?id=143

When it should look like this: 
https://domain.com/Ticket/Display.html?id=143

 

Notice the host part missing and the t is suppose to be Capitalized.

 

Anyone can tell me how I can fix this? This seams to be an issue with
the search I think or something.

 

 

Nelson Pereira 
Senior Network Administrator 

Protus IP Solutions Inc. 
[EMAIL PROTECTED] 
phone: 613.733. ext.528 
MyFax: 613.822.5083 
www.myfax.com 

Refer your friends and colleagues to MyFax! 
Click here for more information.
http://www.myfax.com/referral_program.asp  

  http://www.myfax.com 

 

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

[rt-users] Issue resolving tickets in SelfService

2008-04-29 Thread RT Lists
Hello all!

I've run into a minor annoyance in the SelfService interface of our RT 3.6.6
install at work.  If an unprivileged requestor attempts to resolve an open
ticket, the ticket will be set to Resolved but then re-open immediately
due to their correspondence being added to the ticket *after* the ticket is
resolved.

(The rights assigned to the Requestor and Unprivileged groups in this
queue are CreateTicket, ModifyTicket, ReplyToTicket, SeeQueue, and
ShowTicket.)

Here's an example of this behaviour, with the earliest transaction listed
first:

Tue Apr 29 11:50:28 2008   rt-testuser - Status changed from 'open' to
'resolved'
Tue Apr 29 11:50:28 2008   rt-testuser - Correspondence added
resolution test... disregard...
Tue Apr 29 11:50:28 2008   RT_System - Status changed from 'resolved' to
'open'

This differs from the behaviour of the full, privileged RT interface of the
same install, in which correspondence from a SuperUser is added, THEN the
status is changed.  I don't seem to have any scrips in place that would
cause this behaviour, and I've verified the same behaviour in a separate
(more basic) RT 3.6.4 install.

I don't wish to prevent correspondence from re-opening tickets, as it's
rather useful to us, but I WOULD like to fix this behaviour in SelfService
:)

Does the hive mind have any ideas?

Thanks for your time!

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] RTAT Import?

2008-04-29 Thread Jean-Sebastien Morisset
Matthew,

Thanks for your code. This was an exellent starting point. Since I
already have a bunch of assets, I tried to incorporate some code to
update assets. I'm not sure what I'm doing wrong though... Here's the
result:

# /opt/rt3/bin/import-assets.sh /tmp/js.csv
gessolx1:
Loaded gessolx1 as asset #85.
CustomField-10 could not be set to STI.
CustomField-11 could not be set to Montreal QC CA.
CustomField-12 could not be set to SUN.
CustomField-14 could not be set to X4200.
That is already the current value
CustomField-16 could not be set to SUN Solaris 10.
uasolx1:
Loaded uasolx1 as asset #86.
CustomField-10 could not be set to STI.
CustomField-11 could not be set to Montreal QC CA.
CustomField-12 could not be set to SUN.
CustomField-14 could not be set to 0.
CustomField-15 could not be set to 0.
CustomField-16 could not be set to 0.

And the code:

#!/usr/bin/perl

use lib qw(/opt/rt3/local/lib /opt/rt3/lib);

use RT;
use RTx::AssetTracker::Asset;
RT::LoadConfig();
RT::Init();

use strict;

if (! $ARGV[0] || $ARGV[0] =~ /^--?h/) {
print Syntax: $0 {csvfile}\n;
exit 0;
}

open(CSV,  $ARGV[0]) or die $!\n;

my $at = RTx::AssetTracker::Asset-new(RT-SystemUser);
my $line;

while (CSV) {
my ($el, $id, $t, $msg);
chomp; $line++; next if ($line == 1);
s/^//; s/$//;
my @csv = split(/?,?/);
my @fn = (
'Name',
'Status',
'Type',
'Description',
'CustomField-10',   # Client
'CustomField-11',   # Location
'CustomField-12',   # Manufacturer
'CustomField-14',   # Model
'CustomField-15',   # Serial Number
'CustomField-16',   # OS Name
);

print $csv[0], :\n;
if ($id = $at-Load($csv[0])) {
print \tLoaded $csv[0] as asset #$id.\n;
} else {
($id, $t, $msg) = $at-Create (
Name = $csv[0],
Status = $csv[1],
Type = $csv[2],
Description = $csv[3],
);
print \t$msg\n;
}

for my $k (@fn) {
if ($k =~ /^CustomField/) {
($id, $msg) = $at-_Set (
Field = $k,
Value = $csv[$el],
UpdateAsset = 1,
TransactionData = undef,
);
print \t$msg\n;
}
$el++;
}

}

Any ideas on what I could be doing wrong?

js.

On Tue, Apr 29, 2008 at 11:26:41AM -0400, Matthew Keller wrote:
 The script below takes a tab-delimited file of format:
 
 AssetTag Make Model Serial Building Room MACAddress
 
 And populated a bunch of CFs. Salt to taste.
 
 
 
 On Tue, 2008-04-29 at 14:01 +, Jean-Sebastien Morisset wrote:
 Has anyone developed a script or something to import an inventory into
 AT (from a csv file, for example)?
 
 js.
 
 
 #!/usr/bin/perl
 
 
 use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
 
 use RT;
 use RTx::AssetTracker::Asset;
 RT::LoadConfig();
 RT::Init();
 
 use strict;
 
 
  MAIN 
 
 
 my $BFILE=/opt/rt3/wslist;
 
 
 open(BF,$BFILE) or die $!\n;
 
 my $ass = RTx::AssetTracker::Asset-new(RT-SystemUser);
 
 while(BF) {
 # 12478 Gateway E4100   0032459740  KEL-HL  219
 00:0C:F1:D5:49:2E
 chomp;
 my @lineparts=split(/\t/);
 my $sysname=$lineparts[4];
 $sysname =~ s/\W.*$//; # Strip from non-word to eol
 $sysname .= $lineparts[5] . - . $lineparts[0];
 
 my ($id, undef, undef) = $ass-Create(Type =
 'Workstations', 
 Name =
 $sysname,
 Status =
 'production',
 'CustomField-7'
 = $lineparts[0], # Decal
 'CustomField-3'
 = $lineparts[1], # Make
 'CustomField-4'
 = $lineparts[2], # Model
 'CustomField-8'
 = $lineparts[3], # Serial
 'CustomField-59'
 = $lineparts[4], # Building
 'CustomField-60'
 = $lineparts[5], # Room
 'CustomField-62'
 = $lineparts[6], # MAC address
 );
 print $sysname created with id $id\n;
 }
 
 

Re: [rt-users] RTAT Import?

2008-04-29 Thread Matthew Keller

The '$at-_Set' calls you're making scare me. Is there a reason you're
setting them iteratively instead of within the Create call?

On Tue, 2008-04-29 at 20:08 +, Jean-Sebastien Morisset wrote:
 Matthew,
 
 Thanks for your code. This was an exellent starting point. Since I
 already have a bunch of assets, I tried to incorporate some code to
 update assets. I'm not sure what I'm doing wrong though... Here's the
 result:
 
 # /opt/rt3/bin/import-assets.sh /tmp/js.csv
 gessolx1:
 Loaded gessolx1 as asset #85.
 CustomField-10 could not be set to STI.
 CustomField-11 could not be set to Montreal QC CA.
 CustomField-12 could not be set to SUN.
 CustomField-14 could not be set to X4200.
 That is already the current value
 CustomField-16 could not be set to SUN Solaris 10.
 uasolx1:
 Loaded uasolx1 as asset #86.
 CustomField-10 could not be set to STI.
 CustomField-11 could not be set to Montreal QC CA.
 CustomField-12 could not be set to SUN.
 CustomField-14 could not be set to 0.
 CustomField-15 could not be set to 0.
 CustomField-16 could not be set to 0.
 
 And the code:
 
 #!/usr/bin/perl
 
 use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
 
 use RT;
 use RTx::AssetTracker::Asset;
 RT::LoadConfig();
 RT::Init();
 
 use strict;
 
 if (! $ARGV[0] || $ARGV[0] =~ /^--?h/) {
 print Syntax: $0 {csvfile}\n;
 exit 0;
 }
 
 open(CSV,  $ARGV[0]) or die $!\n;
 
 my $at = RTx::AssetTracker::Asset-new(RT-SystemUser);
 my $line;
 
 while (CSV) {
 my ($el, $id, $t, $msg);
 chomp; $line++; next if ($line == 1);
 s/^//; s/$//;
 my @csv = split(/?,?/);
 my @fn = (
 'Name',
 'Status',
 'Type',
 'Description',
 'CustomField-10',   # Client
 'CustomField-11',   # Location
 'CustomField-12',   # Manufacturer
 'CustomField-14',   # Model
 'CustomField-15',   # Serial Number
 'CustomField-16',   # OS Name
 );
 
 print $csv[0], :\n;
 if ($id = $at-Load($csv[0])) {
 print \tLoaded $csv[0] as asset #$id.\n;
 } else {
 ($id, $t, $msg) = $at-Create (
 Name = $csv[0],
 Status = $csv[1],
 Type = $csv[2],
 Description = $csv[3],
 );
 print \t$msg\n;
 }
 
 for my $k (@fn) {
 if ($k =~ /^CustomField/) {
 ($id, $msg) = $at-_Set (
 Field = $k,
 Value = $csv[$el],
 UpdateAsset = 1,
 TransactionData = undef,
 );
 print \t$msg\n;
 }
 $el++;
 }
 
 }
 
 Any ideas on what I could be doing wrong?
 
 js.
 
 On Tue, Apr 29, 2008 at 11:26:41AM -0400, Matthew Keller wrote:
  The script below takes a tab-delimited file of format:
  
  AssetTag Make Model Serial Building Room MACAddress
  
  And populated a bunch of CFs. Salt to taste.
  
  
  
  On Tue, 2008-04-29 at 14:01 +, Jean-Sebastien Morisset wrote:
  Has anyone developed a script or something to import an inventory into
  AT (from a csv file, for example)?
  
  js.
  
  
  #!/usr/bin/perl
  
  
  use lib qw(/opt/rt3/local/lib /opt/rt3/lib);
  
  use RT;
  use RTx::AssetTracker::Asset;
  RT::LoadConfig();
  RT::Init();
  
  use strict;
  
  
   MAIN 
  
  
  my $BFILE=/opt/rt3/wslist;
  
  
  open(BF,$BFILE) or die $!\n;
  
  my $ass = RTx::AssetTracker::Asset-new(RT-SystemUser);
  
  while(BF) {
  # 12478 Gateway E4100   0032459740  KEL-HL  219
  00:0C:F1:D5:49:2E
  chomp;
  my @lineparts=split(/\t/);
  my $sysname=$lineparts[4];
  $sysname =~ s/\W.*$//; # Strip from non-word to eol
  $sysname .= $lineparts[5] . - . $lineparts[0];
  
  my ($id, undef, undef) = $ass-Create(Type =
  'Workstations', 
  Name =
  $sysname,
  Status =
  'production',
  'CustomField-7'
  = $lineparts[0], # Decal
  'CustomField-3'
  = $lineparts[1], # Make
  'CustomField-4'
  = $lineparts[2], # Model
  'CustomField-8'
  = $lineparts[3], # Serial
  'CustomField-59'
  = 

Re: [rt-users] RTAT Import?

2008-04-29 Thread Jean-Sebastien Morisset
On Tue, Apr 29, 2008 at 04:15:03PM -0400, Matthew Keller wrote:
 
 The '$at-_Set' calls you're making scare me. Is there a reason you're
 setting them iteratively instead of within the Create call?

I run a Load, if the Load doesn't work, then do a Create (with just the
basics), after that update all the CFs. This way I can maintain just the
@fn array, and update and/or create the assets as need be from the CSV.

js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] RTAT Import?

2008-04-29 Thread Matthew Keller
Ah yes... The way I usually do things like that is by grabbing the asset
CF info, ala: 

my $AssCFs=$AssObj-CustomFields();

and then setting the appropriate values ala:

while(my $AssCF = $AssCFs-Next()) {
$AssCF-Value = whatever
}

The above is pseudocode from memory, but is +/- 96% correct. :)

On Tue, 2008-04-29 at 20:18 +, Jean-Sebastien Morisset wrote:
 On Tue, Apr 29, 2008 at 04:15:03PM -0400, Matthew Keller wrote:
  
  The '$at-_Set' calls you're making scare me. Is there a reason you're
  setting them iteratively instead of within the Create call?
 
 I run a Load, if the Load doesn't work, then do a Create (with just the
 basics), after that update all the CFs. This way I can maintain just the
 @fn array, and update and/or create the assets as need be from the CSV.
 
 js.

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] RTAT Import?

2008-04-29 Thread Jean-Sebastien Morisset
On Tue, Apr 29, 2008 at 04:32:43PM -0400, Matthew Keller wrote:
 Ah yes... The way I usually do things like that is by grabbing the asset
 CF info, ala: 
 
 my $AssCFs=$AssObj-CustomFields();
 
 and then setting the appropriate values ala:
 
 while(my $AssCF = $AssCFs-Next()) {
   $AssCF-Value = whatever
 }
 
 The above is pseudocode from memory, but is +/- 96% correct. :)

Hmmm... Here's what I get:

# /opt/rt3/bin/import-assets.sh /tmp/js.csv
gessolx1:
Loaded gessolx1 as asset #85.
Setting Client to STI
[Tue Apr 29 21:00:16 2008] [crit]: Can't modify non-lvalue subroutine
call at /opt/rt3/bin/import-assets.sh line 56, CSV line 2.
(/opt/rt3/lib/RT.pm:361)
Can't modify non-lvalue subroutine call at /opt/rt3/bin/import-assets.sh
line 56, CSV line 2.

And here's the code I'm using...

#!/usr/bin/perl

use lib qw(/opt/rt3/local/lib /opt/rt3/lib);

use RT;
use RTx::AssetTracker::Asset;
RT::LoadConfig();
RT::Init();

use strict;

if (! $ARGV[0] || $ARGV[0] =~ /^--?h/) {
print Syntax: $0 {csvfile}\n;
exit 0;
}

open(CSV,  $ARGV[0]) or die $!\n;

my $at = RTx::AssetTracker::Asset-new(RT-SystemUser);
my $line;

# customfield columns in csv file
my %cf_map = (
'Client' = 4,
'Location' = 5,
'Manufacturer' = 6,
'Model' = 7,
'Serial Number' = 8,
'OS Name' = 9,
);

while (CSV) {
chomp; $line++;
next if ($line == 1);   # Skip CSV Header
s/^//; s/$//;
my @csv = split(/?,?/);

print $csv[0], :\n;
if (my $id = $at-Load($csv[0])) {
print \tLoaded $csv[0] as asset #$id.\n;
} else {
my ($id, $t, $msg) = $at-Create (
Name = $csv[0],
Status = $csv[1],
Type = $csv[2],
Description = $csv[3],
);
print \t$msg\n;
}

my $atcf = $at-CustomFields();
while (my $cf = $atcf-Next()) {
# check to see if we have a column number for this customfield
if (my $col = $cf_map{$cf-Name}) {
print \tSetting .$cf-Name. to .$csv[$col].\n;
$cf-Value = $csv[$col];
}
}
}

-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] RT 3.6.6 Install .. stuck on Apache configuration

2008-04-29 Thread Bob Duff
I'm have installed RT 3.6 successfully from source but there is a configuration 
problem I can't seem to find.  I get the following error when I pull up my url:
RT: Request Tracker
You're almost there!

You haven't yet configured your webserver to run RT.

You appear to have installed RT's web interface correctly, but haven't yet 
configured your web server to run the RT server which powers the web 
interface.

The next step is to edit your webserver's configuration file to instruct it to 
use RT's mod_perl , fastcgi or speedycgi handler.

__

Here are my configuration files:

httpd.conf virtual host section for rt:

VirtualHost *

ServerName rt.covista.com

DocumentRoot /opt/rt3/share/html

AddDefaultCharset UTF-8

PerlModule Apache::DBI

PerlRequire /opt/rt3/bin/webmux.pl

Location /rt3

SetHandler perl-script

PerlHandler RT::Mason

/Location

/VirtualHost



RT_SiteConfig.pm

# Any configuration directives you include here will override # RT's default 
configuration file, RT_Config.pm # # To include a directive here, just copy the 
equivalent statement # from RT_Config.pm and change the value. We've included a 
single # sample value below.

#

# This file is actually a perl module, so you can include valid # perl code, as 
well.

#

# The converse is also true, if this file isn't valid perl, you're # going to 
run into trouble. To check your SiteConfig file, use # this comamnd:

#

# perl -c /path/to/your/etc/RT_SiteConfig.pm

Set( $rtname, 'covista');

Set($Organization, rt.covista.com);

Set($Timezone, 'US/Eastern');

Set($WebBaseURL, http://rt.covista.comhttp://rt.covista.com/);

Set($Webpath, /rt3);

Set($CorrespondAddress, '[EMAIL PROTECTED]'mailto:'[EMAIL PROTECTED]');

Set($CommentAddress, '[EMAIL PROTECTED]'mailto:'[EMAIL PROTECTED]');

Set($logToSyslog, '');

Set($logToFile, 'debug');

 Set($LogDir, '/var/log');

Set($LogToFileNamed , rt.log);

Set($OwnerEmail, [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]);

Set($MyTicketsLength, 20);

Set($SendmailPath , /usr/sbin/sendmail);

Set($SendmailArguments , -oi -t);

 1;

_

Anyone see something I should have caught here?  If not any tips on how to 
resolve this problem?

Thanks
Bob Duff

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

[rt-users] redirect RT login page - where does that happen?

2008-04-29 Thread Judy Illeman Gaukel
Hi RT-experts,

I've have RT 3.6.6 on a Solaris 9 machine and all is well -- but I need 
to redirect my old
machine (another solaris 9, but with RT 3.6.3 not sending emails any 
more) -- so that the users are using RT on the
new machine.I've been looking at share/html/index.html   but I'm not 
following how to jump in BEFORE and
redirect the page to another server.Help! 

If share/html/index.html is the first thing that gets executed, and it 
calls /Elements/Header  --   how do I stop
it there and redirect?
Is the redirect in VirtualHost -- (I've tried replacing the 
servername...)???

VirtualHost haruspex.ucsd.edu
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /opt/csw/apache/htdocs
ServerName haruspex.ucsd.edu
ErrorLog logs/error_log_haruspex
CustomLog logs/access_log_haruspex combined
Alias /rt3 /opt/csw/rt3/share/html
AddDefaultCharset UTF-8

PerlModule Apache::DBI
PerlRequire /opt/csw/rt3/bin/webmux.pl

Location /rt3
SetHandler perl-script
PerlHandler RT::Mason
/Location
/VirtualHost

Thanks for any advice/direction -- I'm a complete novice with web 
intricacies so I appreciate the help.
- Judy


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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