From: Ivan Walker (ivan@itpro.co.nz)
Date: Tue Feb 24 2009 - 18:31:55 ARST
When specifying a URL for classification, include only the portion of
the URL that follows the www./hostname/./domain/ in the *match*
statement. For example, for the URL www.cisco.com/latest/whatsnew.html,
include only /latest/whatsnew.html with the *match* statement (for
instance, *match protocol http url /latest/whatsnew.html*).
(http://www.cisco.com/en/US/docs/ios/qos/command/reference/qos_m1.html#wp1024534)
To clarify for www.cisco.com/latest/whatsnew.html
host portion = www.cisco.com (note no http://)
url portion = /latest/whatsnew.html//
It is based on a regular expression match so as you say if you are
matching on *host* using regular expression "www.youtube.com" then you
will not match host youtube.com.
Ivan
armylegionmedic@aol.com wrote:
> Hello all,
>
>
>
>
>
> ?? In regards to this matching, can someone help me understand the difference between matching based on host and URL in your examples? Say for example, if I want to block the entire site of youtube.com, could I do match protocol http url http://www.youtube.com/* ? Also, on this, if someone just types http://youtube.com will this go through?
>
> Thanks,
>
> James
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:12 ARST