I was wondering if anyone has by any chance to have a mod_rewrite directive to rewrite a URL to see a ticket #. E.g. rt.whatever.com/### and it goes straight to the page of the ticket. But since you got to authenticate first, I’m not sure if it’ll work well. I noly just setup RT3, so I’m not ready to mess wtih settings of my webserver, but i’m just curious if its in effect.
Thanks,
Naveen Nathan
Naveen Nathan wrote:
I was wondering if anyone has by any chance to have a mod_rewrite
directive to rewrite a URL to see a ticket #. E.g. rt.whatever.com/###
and it goes straight to the page of the ticket.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog /var/log/apache/rewrite.log
RewriteLogLevel 0
RewriteRule ^/([0-9]+)$ /Ticket/Display.html?id=$1 [R] [L]
RewriteRule ^/([^/.]+)$ /Search/Listing.html?ShowQueue=$1 [R] [L]
</IfModule>
(taken from an rt-users posting eons ago)
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
Cheers.
After you said it was from old archives, I just checked out lists.fsck.com
and noticed the search engine. Thanks for opening eyes :P.
Thanks,
Naveen----- Original Message -----
From: “Phil Homewood” pdh@snapgear.com
To: rt-users@lists.fsck.com
Sent: Sunday, August 17, 2003 10:48 PM
Subject: Re: [rt-users] Rewrite URLs
Naveen Nathan wrote:
I was wondering if anyone has by any chance to have a mod_rewrite
directive to rewrite a URL to see a ticket #. E.g. rt.whatever.com/###
and it goes straight to the page of the ticket.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog /var/log/apache/rewrite.log
RewriteLogLevel 0
RewriteRule ^/([0-9]+)$ /Ticket/Display.html?id=$1 [R] [L]
RewriteRule ^/([^/.]+)$ /Search/Listing.html?ShowQueue=$1 [R] [L]
</IfModule>
(taken from an rt-users posting eons ago)
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm