[rt-users] Default auto-refresh interval
Kevin Falcone
falcone at bestpractical.com
Wed Feb 9 09:23:23 EST 2011
On Wed, Feb 09, 2011 at 01:37:17PM +0000, Michael Brown wrote:
> I had a customer request to set the default home page refresh interval to 2
> minutes for all users. I found several suggestions that essentially involved
> modifying the code (e.g. by creating a local version of Elements/Login or
> Elements/Refresh), but wanted to avoid code customisations if at all possible.
>
> I found that I could make this work using mod_rewrite, without having to touch
> the RT code:
>
> RewriteEngine On
> RewriteRule ^/$ /?HomeRefreshInterval=120 [L,PT,QSA]
>
> (note that this is with RT in the root directory of a virtual host; modify the
> "^/$" portion as necessary for other locations).
>
> Posting this message for the record, to save someone else the time it took me
> to figure this out.
I'm not sure How this is better than using the documented config variable
$HomePageRefreshInterval which is also available on a per-user basis.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110209/81577936/attachment.sig>
More information about the rt-users
mailing list