[rt-users] Rewrite URLs

Naveen Nathan naveen at dtiserv2.com
Mon Aug 18 03:56:48 EDT 2003


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 at snapgear.com>
To: <rt-users at 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 at 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 at 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
>




More information about the rt-users mailing list