Re: [rt-users] Assets in Dashboard

2009-10-05 Thread Joop
Hello Torsten,
 Hi Seth,
 we are not on 3.8.x yet but i think the dashboards are also using 
 saved searches. at can create saved searches and you can load them 
 like the ticket saved searches. i can send you on monday some piece of 
 code we use to display also asset saved searches, possibly you can use 
 this for your dashboards.

 torsten

Would you mind posting it to the list so that other people can use it 
too. I'm interested too in how that can be done.

Thanks in advance,

Joop

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

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


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


[rt-users] use SLA extention

2009-10-05 Thread Rahman Desyanta
I use RT 3.8.x, i have already install SLA extension for rt, but there are
tiny tutorial modul for this extension. do you have some tutorial source so
i can use this extension well? i really need this extension.. thanks

-- 
Regards,
Rahman Desyanta
i n f i n i t y . s o l u t i o n (www.infi-nity.com) - pt. vikasa infinity
anugrah
bsd city sektor 14 - ruko golden madrid g/9 - tangerang 15321 - indonesia
t: +62 (21) 5316 4796  f: +62 (21) 5316 4797 m:+62 815 5584 88878
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] use SLA extention

2009-10-05 Thread Ruslan Zakirov
Rahman,

Have you read modules documentation [1]? This doc is full of examples
and use cases.

[1] http://search.cpan.org/dist/RT-Extension-SLA/lib/RT/Extension/SLA.pm

On Mon, Oct 5, 2009 at 12:21 PM, Rahman Desyanta
rahman.desya...@infi-nity.com wrote:
 I use RT 3.8.x, i have already install SLA extension for rt, but there are
 tiny tutorial modul for this extension. do you have some tutorial source so
 i can use this extension well? i really need this extension.. thanks

 --
 Regards,
 Rahman Desyanta
 i n f i n i t y . s o l u t i o n (www.infi-nity.com) - pt. vikasa infinity
 anugrah
 bsd city sektor 14 - ruko golden madrid g/9 - tangerang 15321 - indonesia
 t: +62 (21) 5316 4796  f: +62 (21) 5316 4797 m:+62 815 5584 88878

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

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


 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

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


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

Re: [rt-users] Assets in Dashboard

2009-10-05 Thread Torsten Brumm
Hi Joop, Seth;
as i said in my last mail, we are not on 3.8.x but the attached tiny files
we added to at at a glance page where a user can load a asset saved search.

The important part is the: my @user_attrs =
$session{'CurrentUser'}-UserObj-Attributes-Named('AssetSavedSearch');
user objects saved search of type AssetSavedSearch, possibly you can add
this to RT's dashboard system.

Attached a GroupSearchList and a SavedSearchList (both based on Steve
Turners SavedSearchLists for rt). We have added this to AT's index.html
page.

Torsten




2009/10/5 Joop joopvandew...@mococo.nl

 Hello Torsten,

 Hi Seth,
 we are not on 3.8.x yet but i think the dashboards are also using saved
 searches. at can create saved searches and you can load them like the ticket
 saved searches. i can send you on monday some piece of code we use to
 display also asset saved searches, possibly you can use this for your
 dashboards.

 torsten

  Would you mind posting it to the list so that other people can use it
 too. I'm interested too in how that can be done.

 Thanks in advance,

 Joop




-- 
MFG

Torsten Brumm

http://www.brumm.me
http://www.elektrofeld.de


GroupSearchList
Description: Binary data


SavedSearchList
Description: Binary data
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] occasionally missing metadata

2009-10-05 Thread Jesse Vincent



On Wed 30.Sep'09 at 14:05:39 +0200, Bernhard wrote:
 Hi,
 
 running RT 3.8.4 on CentOS 5.3 and MySQL 5.0.45
 had this issue twice recently - a ticket would miss the mail itself even 
 though it would display attachments.
 no date, no history, no body, no mail.
 
 mails came from gmail and hotmail.fr - with some special characters in 
 the subject and double quotes in one case, the other one doesn't even 
 show a title / subject.
 
 did anyone experience something like this as well?

If you poke in the attachments table, is the content there?

Best,
Jesse

 
 any hint would be greatly appreciated!
 
 cheers,
 bernhard
 
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
 


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


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

[rt-users] QuickSearchSummary

2009-10-05 Thread Alexandre PIASER
Hello,

I use rt 3.8.2 and I need help.
I want to display the status resolved on the quickshearchsummary.

Example:
QueueNewOpenResolved
Support5  102
IT3   5 4

Thanks,

-- 
Alex

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

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


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


Re: [rt-users] QuickSearchSummary

2009-10-05 Thread Emmanuel Lacour
On Mon, Oct 05, 2009 at 04:46:32PM +0200, Alexandre PIASER wrote:
 Hello,
 
 I use rt 3.8.2 and I need help.
 I want to display the status resolved on the quickshearchsummary.
 
 Example:
 QueueNewOpenResolved
 Support5  102
 IT3   5 4
 

You have to copy share/html/Elements/Quicksearch to local/html/Elements,
then modify this one to add resolved status as it use only
ActiveStatuses by default.
then clear your mason cache (rm -rf /var/masonf_data/obj) and
restart your webserver.

Adding the following line at end of file (before /%INIT) should to the
trick:

push @conditions, { cond = Status = 'resolved', name = loc('resolved') };

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

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


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


[rt-users] OT: Kudos to Jesse

2009-10-05 Thread Michael Finn
I want to extend much kudos to Jesse for being a steward of Perl 5.11.0
in addition to his efforts on RT.

http://www.nntp.perl.org/group/perl.perl5.porters/2009/10/msg151376.html

Hip-hip-hooray!
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Request for RT briefing/demo slide deck

2009-10-05 Thread Hayes, Drew R.
Hello All,

Has anybody briefed their employer about what/how RT works and why it is a good 
option to move to this particular product?  I'm going to be giving a briefing 
about RT tomorrow and am currently coming up with some slides however if there 
is someone out there who wouldn't mind sending along what they've already done 
it may help speed up the process.

Thank you,
Drew

___
Drew Hayes
Network and Systems Engineer
Advanced Technical Computing Center
703.983.5595 (office)
703.983.7228 (Lab)
drha...@mitre.orgmailto:drha...@mitre.org

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

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


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

[rt-users] 302 Error

2009-10-05 Thread Sergio Charpinel Jr.
Hi,

I've installed RT 3.8.5, and when I try to create a user via command line, I
get this error:
rt: Server error: Found (302)

It does not log anything.

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

[rt-users] RT 3.8.5 : User logged out on 'simple search' or ticket creation.

2009-10-05 Thread Bennett, Bevan (IS)
I'm trying to upgrade my installation to 3.8.5, but early testing showed 
a rather odd bug that I don't see mentioned elsewhere in the list.

Once logged in, if a user goes to 'Simple Search', enters a numeric 
search term, then presses enter, they are logged out and sent back to 
the login screen.
Oddly, this does not occur if they search for a username or subject 
term, or if they click the search button rather than pressing enter.
If they re-authenticate, they then go directly to the requested search 
results.
This also applies to the search box on the home page, and happens reliably.

Worse, the same thing occurs whenever a user creates a new ticket.

Has anyone else run into this problem before? Any ideas where I could be 
looking for the solution?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] RT::Extension::SLA -- problems

2009-10-05 Thread William Graboyes
Hi All,

I finally got time to come up with a solution to the problem I was having.

sub IsApplicable {
my $self = shift;
return 0 unless $self-SLAIsApplied;

my $type = $self-TransactionObj-Type;
if ( $type eq 'Create' || $type eq 'Correspond' ) {
if ($self-TicketObj-FirstCustomFieldValue('SLA') eq 'Severity 4'){
return 0;
}
if ($self-TicketObj-FirstCustomFieldValue('SLA') eq 'Severity 1'
|| $self-TicketObj-FirstCustomFieldValue('SLA') eq 'Severity ...
return 1;
}
else {
return 0;
}
}
return 1 if $self-IsCustomFieldChange('SLA');
return 0;
}
This does excactly what I want it to do.

Skips setting the Due date for Sev 4 tickets.

and sets the due dates on the rest.

Thanks,
Bill Graboyes
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Web interface configuration question

2009-10-05 Thread Easyrider Inquiry
Bennett, Bevan (IS) wrote:
 # RT Stuff

 Alias /rt/ /opt/rt3/share/html/
 Alias /rt /opt/rt3/share/html/
 Alias /helpdesk/ /opt/rt3/share/html/
 Alias /helpdesk /opt/rt3/share/html/

 NameVirtualHost *:80 # Tried 443, no-go
 VirtualHost *:80 # Ditto
 ServerAdmin Certified_Today[at]Easyrider.com
 ServerName backup.easyrider.com
 DocumentRoot /opt/rt3/share/html/
 AddDefaultCharset UTF-8
 # Adding the following for RT (the ticket tracker)
 AddHandler fastcgi-script .fcgi
 Directory /opt/rt3/share/html
 Options FollowSymLinks ExecCGI
 AllowOverride None
 /Directory
 # Pass through requests to for noauth
 Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
 ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
 /VirtualHost

 Hey, my mailing-list membership isn't up yet, but I think I can help you.
 This is a close translation of what we have to enable what you're
 looking for.

 What you want is something like this:
 # Allow access to the RT html area
 Directory /opt/rt3/share/html
   Options FollowSymLinks ExecCGI
   AllowOverride None
 /Directory

 # Keep your core system core
 VirtualHost *:80
   ServerName backup.easyrider.com
   DocumentRoot /var/www/html

   # Now add the handlers and aliases for RT, *to the RT location*
   Alias /rt /opt/rt3/share/html/
   Location /rt
 SetHandler perl-script
 PerlResponseHandler RT::Mason
   /Location
   Location /rt/NoAuth/images
  SetHandler default
   /Location
 /VirtualHost
Thanks VERY much for the concise instructions Bevan!  Just what I was
hoping for.  Unfortunately, your example didn't work :(

I think you are on the right track and I have previously tried
combinations very close to yours based on various threads I've read on
this topic.  I think it's the location section that's causing
problems.  If I comment it out, I get the BP almost there page.  With
it in there, I get an internal server error.

The server name is not yet registered in DNS... don't know if that's a
factor.  I toggle the WebPath and WebBaseURL settings for each test
iteration with no change in results.  Doing an httpd restart each time,
of course. I changed httpd.conf to look EXACTLY like your example and
when it didn't work I tried various combinations so as to not bother the
list without fully trying to fix this on my own.

/opt/rt3/etc/RT_SiteConfig.pm:
# - START ---

#Set($WebPath , );
Set($WebPath , /rt);

Set($WebPort , 80);# + ($ * 7274) % 32766 + ($  1024));

#Set($WebBaseURL , http://backup.easyrider.com:$WebPort;);
Set($WebBaseURL , http://localhost:$WebPort;);

Set($WebURL , $WebBaseURL . $WebPath . /);

#-- END ---

/etc/httpd/conf/httpd.conf:

# - START -

# Allow access to the RT html area
Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
/Directory

# Keep your core system core
VirtualHost *:80
  ServerName backup.easyrider.com
  DocumentRoot /var/www/html

  # Now add the handlers and aliases for RT, *to the RT location*
  Alias /rt /opt/rt3/share/html/

# Enabling the following produces an internal server error page
# Commenting it out gives a BP almost there page

#  Location /rt
#SetHandler perl-script
#PerlResponseHandler RT::Mason
#  /Location
  Location /rt/NoAuth/images
 SetHandler default
  /Location
/VirtualHost

# Experiment end
# - END --

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

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


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

Re: [rt-users] Web interface configuration question

2009-10-05 Thread Easyrider Inquiry
When you get the internal server error, what shows up in your webserver
error_log?
 The big difference I see between your original and mine is that you
 have a ScriptAlias instead of a SetHandler.
 It looks like you're configured to use fastCGI (via the scriptAlias)
 rather than mod_perl (like I am), which would indeed lead to internal
 server errors.

 Looking at the fastcgi config docs, you probably want something closer
 to this:
 That, along with your Webpath /rt, may do the trick.

 # Allow access to the RT html area
 Directory /opt/rt3/share/html
   Options FollowSymLinks ExecCGI
   AllowOverride None
 /Directory

 # Keep your core system core
 VirtualHost *:80
   ServerName backup.easyrider.com
   DocumentRoot /var/www/html

   # Now add the handlers and aliases for RT, *to the RT location*
  
   ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/
   AddHandler fastcgi-script fcgi

   Location /rt
 AddDefaultCharset UTF-8
 SetHandler fastcgi-script
   /Location
 /VirtualHost

Yep!  Any improvement is a good thing :)  And all of the credit goes to
you since I have been pretty much spinning my wheels for 48 hours before
you came along.

Getting very close here  already logged on accounts now work
correctly on /rt and not http://backup.easyrider.com as they should.  So
that seems to be at least somewhat fixed.

However, new log in attempts go directly to
http://backup.easyrider.com/index.html.com after you enter the username
and password.  Screwy... there must be a path setting somewhere that's
still wrong perhaps?

Also, a small issue but likely related to all of the above is that my
logo is not being displayed (although I've had this working when RT ran
out of the web root). You get no gif and the alt text instead but for
Best Practical even though I have long since changed it to my URL.  It's
like reload isn't reloading all of RT_siteconfig.pm or something. It's
like the Set WebPath value isn't taking although reload does seem to be
reading the pm file..

Rather than experiment with a million combinations to see if I can solve
this, I thought it would be wiser to just get back to you since you
actually seem to understand this stuff.  No errors in the Apache log
file (anymore).

/opt/rt3/etc/RT_SiteConfig.pm:
# - START ---

#Set($WebPath , );
Set($WebPath , /rt);

Set($WebPort , 80);# + ($ * 7274) % 32766 + ($  1024));

#Set($WebBaseURL , http://backup.easyrider.com:$WebPort;);
Set($WebBaseURL , http://localhost:$WebPort;);

Set($WebURL , $WebBaseURL . $WebPath . /);

Set($WebImagesURL , $WebPath . /NoAuth/images/);

Set($LogoURL , $WebImagesURL . bplogo.gif); # bplogo.gif was
overwritten to be my logo
Set($LogoLinkURL, 'http://security.nocdesigns.com');
Set($LogoAltText, Easyrider LAN Pro);

# WebNoAuthRegex - What portion of RT's URLspace should not require
# authentication.
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
/+REST/\d+\.\d+/NoAuth/)!x );

#-- END ---

/etc/httpd/conf/httpd.conf:

# Latest RT config experiment BEGIN
# - START -

# Allow access to the RT html area
Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
/Directory

# Keep your core system core
VirtualHost *:80
  ServerName backup.easyrider.com
  DocumentRoot /var/www/html

  # Now add the handlers and aliases for RT, *to the RT location*

  ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/
  AddHandler fastcgi-script fcgi

  Location /rt
AddDefaultCharset UTF-8
SetHandler fastcgi-script
  /Location
/VirtualHost

# Experiment end
# - END --

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

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


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

Re: [rt-users] Web interface configuration question

2009-10-05 Thread Easyrider Inquiry
The images are because we didn't deal with NoAuth yet.

 Now that we've gotten this far, try adding a second location directive
 right after the first with:
 Location /rt/NoAuth/images
SetHandler default
 /Location

 That should turn off the FastCGI for the image directory (as per
 http://wiki.bestpractical.com/view/ManualInstallation).

 I'm not sure why your logins would still be going awry, as that should
 all be dealt with from $WebURL. Maybe check the access-log and see
 what page is requesting index.html to start narrowing things down.

 Also, make sure you don't have any extraneous /rt related aliases or
 redirects hanging around from earlier testing.
On a new browser session, http://backup.easyrider.com/rt gives the login
window.  Once you enter the username/pw. it immediately goes to
/var/www/html/index.html.  Log snippet follows:
Still not displaying the logo and URL that's in RT_siteconfig.pm which
may be related or a separate issue. Otherwise the graphics seem fine
now.  I did a grep and a careful inspection and I don't see any
spurious, unwanted references to rt hanging around.  I think (fingers
crossed) that you now have httpd.conf 100%.

A reload does recognize changes to $WebPath but is not honoring $WebLogo
so focusing on $WebURL makes sense.  Again, backup.easyrider.com is not
yet registered in DNS so I am using localhost in RT_siteconfig.pm.  The
web server is dual homed and is accessible vi an ISP-assigned IP address
(through my DMZ) as well as an internal NAT address.  Accessing RT via
either NIC seems to always give the same results.

[r...@security frankie]# perl -c /opt/rt3/etc/RT_SiteConfig.pm
/opt/rt3/etc/RT_SiteConfig.pm syntax OK

192.168.1.104 - - [05/Oct/2009:15:24:45 -0700] GET /rt HTTP/1.1 200
4830 - Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
192.168.1.104 - - [05/Oct/2009:15:24:56 -0700] POST /index.html
HTTP/1.1 200 19739 http://192.168.1.50/rt; Mozilla/4.0 (compatible;
MSIE 8.0; Windows NT 5.1; Trident/4.0)
192.168.1.104 - - [05/Oct/2009:15:24:56 -0700] GET /_graphics/sky.jpg
HTTP/1.1 304 - http://192.168.1.50/index.html; Mozilla/4.0
(compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)

# - START ---

Set($WebPath , /rt);

Set($WebPort , 80);# + ($ * 7274) % 32766 + ($  1024));

#Set($WebBaseURL , http://backup.easyrider.com:$WebPort;);
Set($WebBaseURL , http://localhost:$WebPort;);

Set($WebURL , $WebBaseURL . $WebPath . /);

Set($WebImagesURL , $WebPath . /NoAuth/images/);

Set($LogoURL , $WebImagesURL . bplogo.gif);
Set($LogoLinkURL, 'http://security.nocdesigns.com');
Set($LogoAltText, Easyrider LAN Pro);

# WebNoAuthRegex - What portion of RT's URLspace should not require
# authentication.
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
/+REST/\d+\.\d+/NoAuth/)!x );

#-- END ---

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

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


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


Re: [rt-users] Web interface configuration question

2009-10-05 Thread Easyrider Inquiry
Bennett, Bevan (IS) wrote:
 So adding the SetHandler directive for the images directory didn't fix
 your logo? That's what did it for me.
 I'd help more explicitly, but I don't have fastCGI and don't want to
 figure out how to install it. (mod_perl came in a handy package for my
 distro).

 The difference between sessions logged in prior and subsequent sounds
 like there's some server still running that hasn't gotten the memo.
 Did you reload httpd, or fully stop and start it? Is there a separate
 fastCGI service that needs to have it's head/cache examined?
I had major graphics displaying issues previously.  I think the NOAUTH
location section fixed that.  The Logo is coming out of settings in
RT_siteconfig.pm which I think still has problems being loaded correctly.

I stopped everything RT related, checked for orphans and started back up
again.  I don't understand any of this cgi stuff but is ExecCGI in your
directory example correct?

I think this is VERY close to working correctly.  Just a matter of
finding the right httpd.conf combination

The following works perfectly except that it runs out of the root
Shows correct WebLogo
Requires $WebPath = '';

# - START 

NameVirtualHost *:80
  VirtualHost *:80
ServerName backup.easyrider.com
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
/VirtualHost

# -- END ---

The following runs perfectly out of /helpdesk *IF* you are already
logged in.  Otherwise you get sent immediately to
/var/www/html/index.html as soon as you hit the login button:
WebLogo does not display and the alt text displays best practical which
is no longer in RT_siteconfig.pm
Requires $WebPath = '/helpdesk';

# - START 

Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
/Directory

VirtualHost *:80
  ServerName backup.easyrider.com
  DocumentRoot /var/www/html

  ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/
  AddHandler fastcgi-script fcgi

  Location /helpdesk
AddDefaultCharset UTF-8
SetHandler fastcgi-script
  /Location

Location /helpdesk/NoAuth/images
   SetHandler default
/Location
/VirtualHost

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

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


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


Re: [rt-users] Web interface configuration question

2009-10-05 Thread Lander, Scott
 For what its worth, I couldn't get the logo to work until I replaced 
local/html/NoAuth/images/bplogo.gif with my own (IE named mine bplogo.gif) and, 
make sure it is no larger then the original size


-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Easyrider Inquiry
Sent: Monday, October 05, 2009 9:58 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Web interface configuration question

Bennett, Bevan (IS) wrote:
 So adding the SetHandler directive for the images directory didn't fix
 your logo? That's what did it for me.
 I'd help more explicitly, but I don't have fastCGI and don't want to
 figure out how to install it. (mod_perl came in a handy package for my
 distro).

 The difference between sessions logged in prior and subsequent sounds
 like there's some server still running that hasn't gotten the memo.
 Did you reload httpd, or fully stop and start it? Is there a separate
 fastCGI service that needs to have it's head/cache examined?
I had major graphics displaying issues previously.  I think the NOAUTH location 
section fixed that.  The Logo is coming out of settings in RT_siteconfig.pm 
which I think still has problems being loaded correctly.

I stopped everything RT related, checked for orphans and started back up again. 
 I don't understand any of this cgi stuff but is ExecCGI in your directory 
example correct?

I think this is VERY close to working correctly.  Just a matter of finding the 
right httpd.conf combination

The following works perfectly except that it runs out of the root Shows correct 
WebLogo Requires $WebPath = '';

# - START 

NameVirtualHost *:80
  VirtualHost *:80
ServerName backup.easyrider.com
AddDefaultCharset UTF-8
AddHandler fastcgi-script .fcgi
Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/ /VirtualHost

# -- END ---

The following runs perfectly out of /helpdesk *IF* you are already logged in.  
Otherwise you get sent immediately to /var/www/html/index.html as soon as you 
hit the login button:
WebLogo does not display and the alt text displays best practical which is no 
longer in RT_siteconfig.pm Requires $WebPath = '/helpdesk';

# - START 

Directory /opt/rt3/share/html
  Options FollowSymLinks ExecCGI
  AllowOverride None
/Directory

VirtualHost *:80
  ServerName backup.easyrider.com
  DocumentRoot /var/www/html

  ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/
  AddHandler fastcgi-script fcgi

  Location /helpdesk
AddDefaultCharset UTF-8
SetHandler fastcgi-script
  /Location

Location /helpdesk/NoAuth/images
   SetHandler default
/Location
/VirtualHost

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

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


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

This e-mail message is intended only for the personal use of the recipient(s) 
named above. If you are not an intended recipient, you may not review, copy or 
distribute this message. If you have received this communication in error, 
please notify the Hearst Service Center (cad...@hearstsc.com) immediately by 
email and delete the original message.


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

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


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


Re: [rt-users] Web interface configuration question

2009-10-05 Thread Easyrider Inquiry
Lander, Scott wrote:
  For what its worth, I couldn't get the logo to work until I replaced 
 local/html/NoAuth/images/bplogo.gif with my own (IE named mine bplogo.gif) 
 and, make sure it is no larger then the original size

 I think this is VERY close to working correctly.  Just a matter of finding 
 the right httpd.conf combination

 The following works perfectly except that it runs out of the root Shows 
 correct WebLogo Requires $WebPath = '';

 # - START 

 NameVirtualHost *:80
   VirtualHost *:80
 ServerName backup.easyrider.com
 AddDefaultCharset UTF-8
 AddHandler fastcgi-script .fcgi
 Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
 ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
  /VirtualHost
 # -- END ---

 The following runs perfectly out of /helpdesk *IF* you are already logged in. 
  Otherwise you get sent immediately to /var/www/html/index.html as soon as 
 you hit the login button:
 WebLogo does not display and the alt text displays best practical which is no 
 longer in RT_siteconfig.pm Requires $WebPath = '/helpdesk';

 # - START 

 Directory /opt/rt3/share/html
   Options FollowSymLinks ExecCGI
   AllowOverride None
 /Directory

 VirtualHost *:80
   ServerName backup.easyrider.com
   DocumentRoot /var/www/html

   ScriptAlias /helpdesk /opt/rt3/bin/mason_handler.fcgi/
   AddHandler fastcgi-script fcgi

   Location /helpdesk
 AddDefaultCharset UTF-8
 SetHandler fastcgi-script
   /Location

 Location /helpdesk/NoAuth/images
SetHandler default
 /Location
 /VirtualHost

 # -- END --
 __
   
Yep, I knew that :)
The logo does work but only with the first httpd.conf settings.  It's a
small issue that does not concern me except that it's another symptom
that might help me get RT properly configured to run out of
backup.easyrider.com/helpdesk and not backup.easyrider.com

What a hassle :(

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

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


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


[rt-users] Help Regarding Rotating Log File RT.Log

2009-10-05 Thread Varun
Hello All

 

I have RT 3.6.3 installed with Apache 2.0 with fast cgi implemented. We do
have a good hard disk space on our server but it will eventually will be
eaten up by log files (i.e from apache and rt logs). So I want to know how I
can rotate my RT logs. Does RT provide any provision for rotating log files
after certain amount of file size is achieved?

 

Please if any one knows about it then please help me in achieving it.

 

Thanks  Regards

Varun Vyas 

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

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


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

Re: [rt-users] Help Regarding Rotating Log File RT.Log

2009-10-05 Thread Emmanuel Lacour
On Tue, Oct 06, 2009 at 11:16:43AM +0530, Varun wrote:
 Hello All
 
  
 
 I have RT 3.6.3 installed with Apache 2.0 with fast cgi implemented. We do
 have a good hard disk space on our server but it will eventually will be
 eaten up by log files (i.e from apache and rt logs). So I want to know how I
 can rotate my RT logs. Does RT provide any provision for rotating log files
 after certain amount of file size is achieved?
 

RT does not handle log rotation itself.

You should use some programs like logrotate to rotate those logs.

If you are using LogToFile in RT then you will have to restart apache at
each rotation so it opens a new file after rotation.

The imho is to use LogToSyslog so you can treat this log like other
syslog files, and rotate it without apache restart. Syslog can also give
you better performance (not very noticeable, but it's faster than
logtofile if you configure syslog to be async for this log).

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

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


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