From: Athaide, Dwayne (DAthaide@epco.com)
Date: Sat May 24 2008 - 19:15:05 ART
It is my understanding that if you are matching www.cisco.com/image.jpg. Then you can do match protocol http url "*.jpg". This will match the image.jpg in the url.
Matching on host would be match protocol http host Cisco.com
However if you were matching on mimes then http match protocol "*jpg"
Note you don't put the the . when matching in mimes.
Thus
Match: protocol http mime *jpeg|*jpg|*gif
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Mike M
Sent: Saturday, May 24, 2008 4:44 PM
To: Joseph Brunner
Cc: ccielab@groupstudy.com
Subject: RE: Class-map match protocol http
Hi, Joe and others
A little bit confused with the following. You may be
able to help.
If I need to match gif, jpeg and jpg files wouldnt you
match mime not url? I thought these image files are
mime files?
eg,
Match: protocol http mime *.jpeg|*.jpg|*.gif
NOT
Match: protocol http url *.jpeg|*.jpg|*.gif
Thanks
Mike M
-- Joseph Brunner <joe@affirmedsystems.com> wrote:
> I'm not the joe, but try this link...
>
> http://www.wr-mem.com/?p=95
>
> this horse had really be beaten down a few times...
> try, victor capucchio's
> block as well...
>
>
http://vcappuccio.wordpress.com/2007/10/21/how-to-use-the-drop-statment-in-m
> qc/
>
> -Joe
>
> -----Original Message-----
> From: nobody@groupstudy.com
> [mailto:nobody@groupstudy.com] On Behalf Of
> kriz@ozonenetworks.net
> Sent: Saturday, May 24, 2008 4:26 PM
> To: ccielab@groupstudy.com
> Subject: Class-map match protocol http
>
> HI,
>
> Can someone please clarify something for me?
>
> I think I have seen this mentioned before but cannot
> find it in the archive
> -
> sorry if I am duplicating a question here.
>
> MQC question.
>
> When creating a class-map to match a url for
> arguments sake
> http://www.simplyip.co.uk/home
>
> If I match like this:
>
> class-map match all WWW
> match protocol http url
> "http://www.simplyip.co.uk/home"
>
> is it the same as
>
> class-map match all WWW
> match protocol http host www.simplyip.co.uk
> match protocol http /home
>
> secondly, if trying to match multiple mime types for
> example .gif .tif and
> .jpeg
>
> is this
>
> class-map match any MIME
> match protocol http mime "*.gif | *.tif | *.jpeg"
>
> the same as
> class-map match any MIME
> match protocol http mime *.gif
> match protocol http mime *.tif
> match protocol http mime *.jpeg
>
>
> I really appreciate your help - Thanks
>
>
>
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:18 ART