Irule to redirect URL

I looking for Irule where my all URL like abc.com/abc,abc.com/abd,abc.com/azx etc to redirect on abc.com/www

Thanks Yugraj Rai

Hi Yugraj, Create class & add URI as much you can. Hope it will work for you

class redirectURIs {
                     /abc
                    /pqr
                    /xyz }


            when HTTP_REQUEST {
                if { [matchclass [HTTP::uri] starts_with redirectURIs] } {
                     HTTP::redirect "abc.com/www"
                             }
                         }