Re: [rt-users] Problem accessing RT located behind an apache proxy

2007-10-29 Thread Andrew Smith

Hi Keith,

Just a stab in the dark, have you tried ProxyPreserveHost On?  I know it 
rewrites the Host: value in the header, not sure if that would help RT.


Regards
Andrew

Schincke, Keith D. (JSC-IT)[MEI] wrote:


Hey Kris,

All of the html, images and javascript is loading correcting

I used firebug to peak at the HTTP headers. It looks like the 
"Location:" field is set to direct the browser to load the 
Display.html file to display the updated ticket.


The ProxyPass and ProxyPassReverse options should be changing the 
response headers.


Below is the relevant parts of my apache config file.

Any help will be greatfully appricated.

Keith

RewriteEngine on
RewriteLog /var/log/httpd/rewrite.log
RewriteLogLevel 0
RewriteRule ^/$ https://rt.example.com/rt/ [R,L]
RewriteRule ^/rt$ https://10.0.0.1/rt/ [P,L]
RewriteRule ^/rt/(.*)$ https://10.0.0.1/rt/$1 [P,L]

ProxyRequests off
SSLProxyEngine on

ProxyPass https://10.0.0.1/
ProxyPassReverse https://10.0.0.1/




-Original Message-
From: Kris Boutilier [mailto:[EMAIL PROTECTED]
Sent: Mon 10/29/2007 11:38 AM
To: Schincke, Keith D. (JSC-IT)[MEI]
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Problem accessing RT located behind an apache 
proxy


Most likely you'll need to use something like mod_proxy_html to 
manipulate occurances of the private address within the body of the 
http stream. You could confirm this by using Wireshark to look at the 
contents of the http replies on both sides of the Apache server and 
see exactly where the offending addresses are being embedded.


mod_proxy_html is a perfect tool for doing in-line rewrites of 
javascript, css and other complexities generated by proxied web apps. 
See http://apache.webthing.com/mod_proxy_html/


Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Schincke, Keith D. (JSC-IT)[MEI]

Sent: Sunday, October 28, 2007 8:33 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Problem accessing RT located behind an 
apache proxy
   
   



Hey Guys,
   
I am having issues accessing parts of my RT installation while 
it is located behind an apache proxy.
   
My configuration is:

  RT is installed on a server on a private network.
  Apache is installed on a server on the public network that 
will proxy with mod_rewrite access to the RT server.
   
This configuration works great for most parts of the RT 
system. Tickets can be looked at. Users can be added.

The problem occurs when a ticket or user is updated.
   
When a ticket is updated, Update.html is called, the ticket is 
update and the browser is redirected to Display.html.
   
The redirect is what is causing my problems. The application 
is tries to send the browser to the private IP address to load 
Display.html.
   
Here is my configuration:

Front end apache server:
Centos 4.5
httpd 2.0.52
   
Here are the rewrite rules:


   RewriteEngine on
   RewriteLog /var/log/httpd/rewrite.log
   RewriteLogLevel 2
   RewriteRule ^/$ http://10.0.0.1/rt [P,L]
   RewriteRule ^/(.*)$ http://10.0.0.1/$1 [P,L]
   ProxyPass / http://rt.example.com/
   ProxyPassReverse / http://rt.example.com/

   
   
Backend server:

Debian etch
Aapche 2
RT 3.6
   
My $WebBaseURL is http://rt.example.com
   
Any suggestions on what may be causing the rewrite to not work 
correctly?
   
Thanks for any help,
   
Keith





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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.

RE: [rt-users] Problem accessing RT located behind an apache proxy

2007-10-29 Thread Schincke, Keith D. (JSC-IT)[MEI]
Hey Kris,

All of the html, images and javascript is loading correcting

I used firebug to peak at the HTTP headers. It looks like the "Location:" field 
is set to direct the browser to load the Display.html file to display the 
updated ticket. 

The ProxyPass and ProxyPassReverse options should be changing the response 
headers.

Below is the relevant parts of my apache config file.

Any help will be greatfully appricated.

Keith

RewriteEngine on
RewriteLog /var/log/httpd/rewrite.log
RewriteLogLevel 0
RewriteRule ^/$ https://rt.example.com/rt/ [R,L]
RewriteRule ^/rt$ https://10.0.0.1/rt/ [P,L]
RewriteRule ^/rt/(.*)$ https://10.0.0.1/rt/$1 [P,L]

ProxyRequests off
SSLProxyEngine on

ProxyPass https://10.0.0.1/
ProxyPassReverse https://10.0.0.1/




-Original Message-
From: Kris Boutilier [mailto:[EMAIL PROTECTED]
Sent: Mon 10/29/2007 11:38 AM
To: Schincke, Keith D. (JSC-IT)[MEI]
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Problem accessing RT located behind an apache proxy
 
Most likely you'll need to use something like mod_proxy_html to manipulate 
occurances of the private address within the body of the http stream. You could 
confirm this by using Wireshark to look at the contents of the http replies on 
both sides of the Apache server and see exactly where the offending addresses 
are being embedded.
 
mod_proxy_html is a perfect tool for doing in-line rewrites of javascript, css 
and other complexities generated by proxied web apps. See 
http://apache.webthing.com/mod_proxy_html/

Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
Schincke, Keith D. (JSC-IT)[MEI]
Sent: Sunday, October 28, 2007 8:33 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Problem accessing RT located behind an apache proxy




Hey Guys,

I am having issues accessing parts of my RT installation while it is 
located behind an apache proxy.

My configuration is:
  RT is installed on a server on a private network.
  Apache is installed on a server on the public network that will proxy 
with mod_rewrite access to the RT server.

This configuration works great for most parts of the RT system. Tickets 
can be looked at. Users can be added.
The problem occurs when a ticket or user is updated.

When a ticket is updated, Update.html is called, the ticket is update 
and the browser is redirected to Display.html.

The redirect is what is causing my problems. The application is tries 
to send the browser to the private IP address to load Display.html.

Here is my configuration:
Front end apache server:
Centos 4.5
httpd 2.0.52

Here are the rewrite rules:

   RewriteEngine on
   RewriteLog /var/log/httpd/rewrite.log
   RewriteLogLevel 2
   RewriteRule ^/$ http://10.0.0.1/rt [P,L]
   RewriteRule ^/(.*)$ http://10.0.0.1/$1 [P,L]
   ProxyPass / http://rt.example.com/
   ProxyPassReverse / http://rt.example.com/



Backend server:
Debian etch
Aapche 2
RT 3.6

My $WebBaseURL is http://rt.example.com

Any suggestions on what may be causing the rewrite to not work 
correctly?

Thanks for any help,

Keith 


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] HasRight called with no valid object.

2007-10-29 Thread slamp slamp
After upgrading to 3.6.5 from 3.6.3 I receive this in my log when I
click Delegation under preferences. I am running on CentOS release 4.5

RT: HasRight called with no valid object
(/opt/rt3/lib/RT/Principal_Overlay.pm:323)
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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: R: R: [rt-users] RT 3.6.3 Reverse History Order patch

2007-10-29 Thread Ruslan Zakirov
add "1;" as the bottom most line in the config.

On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thanks,Gianluca and others,
> I decided to retry one more time
> After I edit RT_SiteConfig with:-
> Set($OldestTransactionsFirst, '0');
>
> When I restart apache it fails with this error in error_log:
>
> [Mon Oct 29 20:32:51 2007] [error] Couldn't load RT config file
> /opt/rt3/etc/RT_SiteConfig.pm as user root / group root.\nThe file is
> owned by user root and group rt.\nThis usually means that the user/group
> your webserver is running as cannot read the file.\nBe careful not to make
> the permissions on this file too liberal, because it contains
> database\npasswords.  You may need to put the webserver user in the
> appropriate group (rt) or change\npermissions be able to run
> succesfully\n/opt/rt3/etc/RT_SiteConfig.pm did not return a true value at
> /opt/rt3/lib/RT.pm line 141.\nBEGIN failed--compilation aborted at
> /opt/rt3/bin/webmux.pl line 76.\nCompilation failed in require at (eval 2)
> line 1.\n
> [Mon Oct 29 20:32:51 2007] [error] Can't load Perl file:
> /opt/rt3/bin/webmux.pl for server cshelp.ucc.ie:80, exiting...
>
> With
> Set($OldestTransactionsFirst, '1');
> It starts without ant error:
>
> Mon Oct 29 20:34:46 2007] [notice] Apache/2.0.59 (Unix) mod_perl/2.0.3
> Perl/v5.8.8 configured -- resuming normal operations
>
> Thats the problem.
> thanks
> Olly
>
>   On Mon, 29
> Oct 2007, Gianluca Cecchi wrote:
>
> >
> > Set($OldestTransactionsFirst, '0');
> > is working fine for me too in 3.6.5... without modifing 
> > /opt/rt3/local/html/Ticket/Elements/ShowHistory
> > I didn't know at all about this option for transaction history screen 
> > rendering ...
> >
> >
> >> -Messaggio originale-
> >> Da: Roy El-Hames [mailto:[EMAIL PROTECTED]
> >> Inviato: lunedì 29 ottobre 2007 17.04
> >> A: [EMAIL PROTECTED]
> >> Cc: Gianluca Cecchi; rt-users@lists.bestpractical.com
> >> Oggetto: Re: R: [rt-users] RT 3.6.3 Reverse History Order patch
> >>
> >> Olly;
> >> I am running 3.6.3 and newest transactions at the top, I have
> >> Set($OldestTransactionsFirst, '0'); working fine for me ...
> > ___
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
> >
> > If you sign up for a new RT support contract before December 31, we'll take
> > up to 20 percent off the price. This sale won't last long, so get in touch 
> > today.
> >Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
> >
> >
> > 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
> >
>
> --
> Oliver Nash
> Computer Systems Support Group
> Department of Computer Science
> University College Cork
> Ireland
> EMAIL:[EMAIL PROTECTED]
> PHONE:+35321 4902972
>
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>
> If you sign up for a new RT support contract before December 31, we'll take
> up to 20 percent off the price. This sale won't last long, so get in touch 
> today.
> Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
>
>
> 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
>


-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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: R: R: [rt-users] RT 3.6.3 Reverse History Order patch

2007-10-29 Thread o . nash

Thanks,Gianluca and others,
I decided to retry one more time
After I edit RT_SiteConfig with:-
Set($OldestTransactionsFirst, '0');

When I restart apache it fails with this error in error_log:

[Mon Oct 29 20:32:51 2007] [error] Couldn't load RT config file 
/opt/rt3/etc/RT_SiteConfig.pm as user root / group root.\nThe file is 
owned by user root and group rt.\nThis usually means that the user/group 
your webserver is running as cannot read the file.\nBe careful not to make 
the permissions on this file too liberal, because it contains 
database\npasswords.  You may need to put the webserver user in the 
appropriate group (rt) or change\npermissions be able to run 
succesfully\n/opt/rt3/etc/RT_SiteConfig.pm did not return a true value at 
/opt/rt3/lib/RT.pm line 141.\nBEGIN failed--compilation aborted at 
/opt/rt3/bin/webmux.pl line 76.\nCompilation failed in require at (eval 2) 
line 1.\n
[Mon Oct 29 20:32:51 2007] [error] Can't load Perl file: 
/opt/rt3/bin/webmux.pl for server cshelp.ucc.ie:80, exiting...


With
Set($OldestTransactionsFirst, '1');
It starts without ant error:

Mon Oct 29 20:34:46 2007] [notice] Apache/2.0.59 (Unix) mod_perl/2.0.3 
Perl/v5.8.8 configured -- resuming normal operations


Thats the problem.
thanks
Olly

 On Mon, 29 
Oct 2007, Gianluca Cecchi wrote:




Set($OldestTransactionsFirst, '0');
is working fine for me too in 3.6.5... without modifing 
/opt/rt3/local/html/Ticket/Elements/ShowHistory
I didn't know at all about this option for transaction history screen rendering 
...



-Messaggio originale-
Da: Roy El-Hames [mailto:[EMAIL PROTECTED]
Inviato: lunedì 29 ottobre 2007 17.04
A: [EMAIL PROTECTED]
Cc: Gianluca Cecchi; rt-users@lists.bestpractical.com
Oggetto: Re: R: [rt-users] RT 3.6.3 Reverse History Order patch

Olly;
I am running 3.6.3 and newest transactions at the top, I have
Set($OldestTransactionsFirst, '0'); working fine for me ...

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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



--
Oliver Nash
Computer Systems Support Group
Department of Computer Science
University College Cork
Ireland
EMAIL:[EMAIL PROTECTED]
PHONE:+35321 4902972
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] how to disable user account in rt via script

2007-10-29 Thread Gene LeDuc

Hi Noura,

There is a method in RT::User called SetDisabled that will probably do what 
you want.  Try loading the user you want to disable into a user object and 
then call the method like this:


  my $UserId =  user id of the user you want to disable #
  my $user = RT::User->new($RT::SystemUser);
  $user->Load($UserId);
  $user->SetDisabled();

I don't know what might happen if you do this to the current user (the 
person logged in to RT).


Good luck,
Gene

At 07:22 PM 10/28/2007, Noura Elhawary wrote:

Hi all,,

I am trying to write a perl script to disable rt user account, so the
script should perform a task similar to unchecking the checkbox "Let
User Access RT" in the rt web ui. Can you please advise me what is the
best way to do so , or if there is a perl module that has some functions
to do that?

Thanks,
Noura

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.

Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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



--
Gene LeDuc, GSEC
Security Analyst
San Diego State University 


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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] Problem accessing RT located behind an apache proxy

2007-10-29 Thread Kris Boutilier
Most likely you'll need to use something like mod_proxy_html to
manipulate occurances of the private address within the body of the http
stream. You could confirm this by using Wireshark to look at the
contents of the http replies on both sides of the Apache server and see
exactly where the offending addresses are being embedded.
 
mod_proxy_html is a perfect tool for doing in-line rewrites of
javascript, css and other complexities generated by proxied web apps.
See http://apache.webthing.com/mod_proxy_html/

Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Schincke,
Keith D. (JSC-IT)[MEI]
Sent: Sunday, October 28, 2007 8:33 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Problem accessing RT located behind an
apache proxy




Hey Guys,

I am having issues accessing parts of my RT installation while
it is located behind an apache proxy.

My configuration is:
  RT is installed on a server on a private network.
  Apache is installed on a server on the public network that
will proxy with mod_rewrite access to the RT server.

This configuration works great for most parts of the RT system.
Tickets can be looked at. Users can be added.
The problem occurs when a ticket or user is updated.

When a ticket is updated, Update.html is called, the ticket is
update and the browser is redirected to Display.html.

The redirect is what is causing my problems. The application is
tries to send the browser to the private IP address to load
Display.html.

Here is my configuration:
Front end apache server:
Centos 4.5
httpd 2.0.52

Here are the rewrite rules:

   RewriteEngine on
   RewriteLog /var/log/httpd/rewrite.log
   RewriteLogLevel 2
   RewriteRule ^/$ http://10.0.0.1/rt [P,L]
   RewriteRule ^/(.*)$ http://10.0.0.1/$1 [P,L]
   ProxyPass / http://rt.example.com/
   ProxyPassReverse / http://rt.example.com/



Backend server:
Debian etch
Aapche 2
RT 3.6

My $WebBaseURL is http://rt.example.com

Any suggestions on what may be causing the rewrite to not work
correctly?

Thanks for any help,

Keith 

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] At A Glance

2007-10-29 Thread Kevin Gordon
Hi List,

Trying to upgrade from 3.4.2 - 3.6.5, all went smooth only apparent
errors where updating the schema from 3.5.1; "couldn't find schema for;
Pd", after browsing lists I'm under the impression that this can be
ignored? as there is no schema update?

When logging in to 3.6.5 the home page contains no tickets for the user
at a glance also contains no tickets.

If I try to edit:

http://rt.smtl.co.uk/rt3/Admin/Global/MyRT.html

The following error occurs:

error:  Can't call method "Content" on an undefined value
at /usr/local/rt3/share/html/Admin/Global/MyRT.html line 97,  line
1662.
context:  
... 

93: 
my ( $conf, $pane ) = @_;
94: 
$default_portlets->SetContent( $conf );
95: 
push @actions, loc( 'Global portlet
[_1] saved.', $pane );
96: 
}
97: 
);
98: 

99: 
$m->comp( '/Widgets/SelectionBox:process', %ARGS, self => $_, nojs => 1 )
100: 
for @panes;
101: 

... 

code stack:   /usr/local/rt3/share/html/Admin/Global/MyRT.html:97
/usr/local/rt3/share/html/Admin/autohandler:49
/usr/local/rt3/share/html/autohandler:291

RAW error:

Can't call method "Content" on an undefined value
at /usr/local/rt3/share/html/Admin/Global/MyRT.html line 97.


Trace begun at /usr/local/share/perl/5.8.7/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Content" on an 
undefined value at /usr/local/rt3/share/html/Admin/Global/MyRT.html line 
97.^J') called at /usr/local/rt3/share/html/Admin/Global/MyRT.html line 97
HTML::Mason::Commands::__ANON__ at 
/usr/local/share/perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa0cb0a0)')
 called at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 1262
eval {...} at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef) called at 
/usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 921
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa0b2cf0)')
 called at /usr/local/rt3/share/html/Admin/autohandler line 49
HTML::Mason::Commands::__ANON__ at 
/usr/local/share/perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa0cb5e0)')
 called at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 1262
eval {...} at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef) called at 
/usr/local/rt3/share/html/autohandler line 291
HTML::Mason::Commands::__ANON__ at 
/usr/local/share/perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa0de5c4)')
 called at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 1257
eval {...} at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef) called at 
/usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 466
eval {...} at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 466
eval {...} at /usr/local/share/perl/5.8.7/HTML/Mason/Request.pm line 418
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa0b2cf0)')
 called at /usr/local/share/perl/5.8.7/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa0b2cf0)')
 called at /usr/local/share/perl/5.8.7/HTML/Mason/ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x97d1dbc)',
 'Apache2::RequestRec=SCALAR(0x9774970)') called at 
/usr/local/rt3/bin/webmux.pl line 125
eval {...} at /usr/local/rt3/bin/webmux.pl line 125
RT::Mason::handler('Apache2::RequestRec=SCALAR(0x9774970)') called at -e line 0
eval {...} at -e line 0

The newer system looks pretty fresh and I'm eager to upgrade.

Thanks,

Kevin

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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


R: R: [rt-users] RT 3.6.3 Reverse History Order patch

2007-10-29 Thread Gianluca Cecchi
 
Set($OldestTransactionsFirst, '0'); 
is working fine for me too in 3.6.5... without modifing 
/opt/rt3/local/html/Ticket/Elements/ShowHistory
I didn't know at all about this option for transaction history screen rendering 
...

 
> -Messaggio originale-
> Da: Roy El-Hames [mailto:[EMAIL PROTECTED] 
> Inviato: lunedì 29 ottobre 2007 17.04
> A: [EMAIL PROTECTED]
> Cc: Gianluca Cecchi; rt-users@lists.bestpractical.com
> Oggetto: Re: R: [rt-users] RT 3.6.3 Reverse History Order patch
> 
> Olly;
> I am running 3.6.3 and newest transactions at the top, I have 
> Set($OldestTransactionsFirst, '0'); working fine for me ... 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] What is searchbuilder

2007-10-29 Thread Micah Gersten
I think it's a built in component, but I would like to know if there is a
way to tweak it to make searches faster.

Thank you,
Micah Gersten
onShore Networks
http://www.onshore.com
 

-Original Message-
From: Roy El-Hames [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 29, 2007 11:07 AM
To: Micah Gersten
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] What is searchbuilder

Can you use RT without it ???

Roy

Micah Gersten wrote:
> My company is running an RT installation v. 3.6.0.
>
>  
>
> What is searchbuilder?  Can we use it to speed up RT searches?
>
>  
>
> Thank you,
>
> Micah Gersten
>
> onShore Networks
>
>
>   
> 
>
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
>
> If you sign up for a new RT support contract before December 31, we'll
take
> up to 20 percent off the price. This sale won't last long, so get in touch
today. 
> Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
>
>
> 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

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] What is searchbuilder

2007-10-29 Thread Roy El-Hames

Can you use RT without it ???

Roy

Micah Gersten wrote:

My company is running an RT installation v. 3.6.0.

 


What is searchbuilder?  Can we use it to speed up RT searches?

 


Thank you,

Micah Gersten

onShore Networks


  



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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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: R: [rt-users] RT 3.6.3 Reverse History Order patch

2007-10-29 Thread Roy El-Hames

Olly;
I am running 3.6.3 and newest transactions at the top, I have
Set($OldestTransactionsFirst, '0');
working fine for me ... Remember to restart apache

There is a work around if you wish you can modify 
/opt/rt3/local/html/Ticket/Elements/ShowHistory and change

$Transactions->OrderByCols( { FIELD => 'Created',
 ORDER => $OldestFirst },
   { FIELD => 'id',
 ORDER => $OldestFirst },
 );
to
$Transactions->OrderByCols( { FIELD => 'Created',
 ORDER => 'DESC' },
   { FIELD => 'id',
 ORDER => 'DESC' },
 );

Roy
[EMAIL PROTECTED] wrote:

Gianluca
Thanks for that wich I already have, i.e. tickets sorted by created 
DESC order.

My question is different:
i.e.
ticket transactions: how to sort the transactions in reverse order.
instead of the default OldestTransactionsFirst

regards
Olly

On Fri, 26 Oct 2007, Gianluca Cecchi wrote:



Or you can do eventually
login as root
Select preferences (top right)
Select RT at a glance
Select unowned tickets
at right side where there is "order by"
first option by default is
Created   Asc

Change to Desc

But I don't know it this affects also non root users when they log-on 
or how to modify their preferences if not...


Gianluca


-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto
di Kenneth Crocker
Inviato: venerdì 26 ottobre 2007 0.25
A: [EMAIL PROTECTED]
Cc: rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] RT 3.6.3 Reverse History Order patch

o.nash


We have 3.6.4 and don't have the problem you described.
Perhaps an upgrade to that version will resolve the problem.


Kenn
LBNL

On 10/25/2007 3:00 PM, [EMAIL PROTECTED] wrote:

running RT 3.6.3 on linux.
I read http://wiki.bestpractical.com/view/ReverseHistoryOrder
Which desribes some patches that will change the

Transaction history order

of tickets viewed on webpage.

I tried the first simple option described:
added line to RT_SiteConfig
Set($OldestTransactionsFirst, 1);
then cleared mason cache
restarted apache but the history still shows Oldest First.
Setting Set($OldestTransactionsFirst, 1); causes apache to

fail to restart

with erros about file permissions strange.

So does anybody have a work around for RT 3.6.3 to do this.
--
thanks
Oliver
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before

December 31, we'll take

up to 20 percent off the price. This sale won't last long,

so get in

touch today.Email us at [EMAIL PROTECTED] or call

us at +1 617

812 0745.


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


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December
31, we'll take
up to 20 percent off the price. This sale won't last long, so
get in touch today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, 
we'll take
up to 20 percent off the price. This sale won't last long, so get in 
touch today.

   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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



--
Oliver Nash
Computer Systems Support Group
Department of Computer Science
University College Cork
Ireland
EMAIL:[EMAIL PROTECTED]
PHONE:+35321 4902972


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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.bestpr

[rt-users] Problem with additional status

2007-10-29 Thread Matt Westfall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I had added a status to my tickets called "followup"

I then decided to remove it, but it's still showing up in the column of
quick search.

I have cleared the mason cache and restarted apache several times!!

Please advise.

Thanks,
Matt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHJf8Vb/8X6V5MpAURAoCvAKDYUnjOSrBa3GMaVyq1ReeKE0qWIACgisEd
atcEWDDMZrItx5awNeUd+oQ=
=t08v
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] Problem with additional status

2007-10-29 Thread Drew Barnes
Do you have any tickets that used that status?  Perhaps that is causing
it to still be listed?

Matt Westfall wrote:
> I had added a status to my tickets called "followup"
>
> I then decided to remove it, but it's still showing up in the column of
> quick search.
>
> I have cleared the mason cache and restarted apache several times!!
>
> Please advise.
>
> Thanks,
> Matt
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in
touch today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] attachment on owner change?

2007-10-29 Thread Krishna Prasad
Hi All,

 

I have a query that including attachment on owner change, the attachment was
missing. What I have to do on this issue? Can anyone guide me on this issue?

 

With Regards, 

Krishna Prasad 

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] RT tickets resolved and tickets unowned list problem

2007-10-29 Thread dsa sadf
Hi,

Can anyone help me out with this query?

Thanks,

Raj

dsa sadf <[EMAIL PROTECTED]> wrote: Hi everyone,

I am using RT 3.4.5, running on a CentOS box. I was trying to restrict some 
privileged users from seeing tickets on queues they weren't allowed to. I 
managed to do that but in the process caused the 'Top 10 Resolved tickets' and 
'Top 10 Unowned tickets' lists to display inaccurate tickets. For example, the 
'Top 10 Resolved tickets' list shows some unowned and new tickets and the 'Top 
10 Unowned tickets' list shows some resolved tickets. 

I had added the following code to my 'MyRequests' file in order to restrict 
queue access for that user:

my $Queues = RT::Queues->new($session{'CurrentUser'});
$Queues->UnLimit();
my $myQueues = "";
while (my $queue = $Queues->Next) {
   next unless ($queue->CurrentUserHasRight('ShowTicket'));
   $myQueues .= " OR Queue = '" . $queue->Name . "'";
}
$myQueues =~ s/^ OR //g;


my $Query = "Owner = 'Nobody' AND $myQueues AND ( Status = 'new' OR Status = 
'open')"; 

and for the 'MyResolved' file, the same code except for the last line which 
reads:

my $Query = "Owner = 'Nobody' AND $myQueues AND ( Status = 'resolved)"; 


Could anyone help me identify what the problem could be?


Regards,

Raj

  __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
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


 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] owner should get the requestor's message only but receiving greeting's message from RT?

2007-10-29 Thread Krishna Prasad
I have a query regarding as follows:

 

When customer creates a ticket through email and RT creates a ticket,
customer is receiving greetings mail. This is good but owner is also
receiving the greetings mail from request tracker. But I don't want to
receive greetings mail to owner from Request tracker. The owner should be
able to see only the customer's/requestor's message only. How can I do it?
Can anyone please help me in this issue?

 

And also when the admin receives an email from request tracker, the admin
will assign that ticket to owner with an attachment but the attachment was
missing?

 

With Regards, 

Krishna Prasad 

 

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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