<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ACE URL Matching in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925941#M18243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good comment and suggestion Syed.&lt;/P&gt;&lt;P&gt;I just want to add that I tested this suggested config and it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2008 22:20:30 GMT</pubDate>
    <dc:creator>Gilles Dufour</dc:creator>
    <dc:date>2008-06-10T22:20:30Z</dc:date>
    <item>
      <title>ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925938#M18240</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 servers loadbalanced using ssl. I have a few URL's which I would like to exclude from the ssl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/view/avac_message.cfm?denied=safeSurfOn&lt;/P&gt;&lt;P&gt;/view/avac_message.cfm?denied=illegal&lt;/P&gt;&lt;P&gt;/view/avac_message.cfm?denied=blacklist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The content switch seems to have an issue with special characters like . ? =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried encapsulating them in [.] but still comes up invalid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General idea is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Class Map to match the URL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(config)# class-map type http inspect HTTP_URLCHECK_L7CLASS&lt;/P&gt;&lt;P&gt;host1/Admin(config-cmap-http-insp)# match url *avac_message[.]cfm[?]denied=safeSurfOn&lt;/P&gt;&lt;P&gt;host1/Admin(config-cmap-http-insp)# match url *avac_message[.]cfm[?]denied=illegal&lt;/P&gt;&lt;P&gt;host1/Admin(config-cmap-http-insp)# match url *avac_message[.]cfm[?]blacklist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Layer 7 Policy Map to apply the match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;host1/Admin(config)# policy-map type inspect http all-match L7_FILTERHTML_POLICY&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap-ins-http)# class L7_HTML_ALLOW_CLASS&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap-ins-http-c)# permit log&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap-ins-http-c)# exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Layer 3 and 4 Policy Map to activate the traffic classifications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;host1/Admin(config)# policy-map multi-match L4_FILTER_POLICY&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap)# class L4_MATCH_HTTP_URL_CLASS&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap-c)# inspect http policy L7_FILTERHTML_POLICY&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap-c)# exit&lt;/P&gt;&lt;P&gt;host1/Admin(config-pmap)# exit&lt;/P&gt;&lt;P&gt;host1/Admin(config)#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise a workaround to apply these url statements please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2008 10:33:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925938#M18240</guid>
      <dc:creator>fiachragroarke</dc:creator>
      <dc:date>2008-06-10T10:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925939#M18241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To escape special characters that have another meaning in a regular expression you need to put a backslash before them - e.g. \. \?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 15:36:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925939#M18241</guid>
      <dc:creator>ciscocsoc</dc:creator>
      <dc:date>2008-06-10T15:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925940#M18242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The '?' has a special meaning in the URL.  It means the end of the main URL and the beginning of the URL query.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not possible to match ? in the url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option could be using secondary cookie matching in ACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-any xyz&lt;/P&gt;&lt;P&gt; 2 match http cookie secondary denied cookie-value safeSurfOn&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 18:44:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925940#M18242</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2008-06-10T18:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925941#M18243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good comment and suggestion Syed.&lt;/P&gt;&lt;P&gt;I just want to add that I tested this suggested config and it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 22:20:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925941#M18243</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2008-06-10T22:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925942#M18244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved, I used the below syntax and the ACE accepted this. Just need to test now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http inspect match-any HTTP_URLCHECK_L7CLASS&lt;/P&gt;&lt;P&gt;  100 match url .*denied=safeSurfOn&lt;/P&gt;&lt;P&gt;  200 match url .*denied=illegal&lt;/P&gt;&lt;P&gt;  300 match url .*denied=blacklist&lt;/P&gt;&lt;P&gt;  400 match url .*logo.jpg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Big thanks to all who responded !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 09:34:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925942#M18244</guid>
      <dc:creator>fiachragroarke</dc:creator>
      <dc:date>2008-06-12T09:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925943#M18245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it wont work. &lt;/P&gt;&lt;P&gt;As I said earlier URL ends at ? delimeter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ways try it and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed Iftekhar Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 16:44:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925943#M18245</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2008-06-12T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925944#M18246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, not to confuse the issue, but I have applied the below config and I cannot seem to get the url match policy to allow traffic to pass as http, while forcing all other traffic to redirect as https&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Anyone tell me what I am doing wrong here please?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rserver host Server01&lt;/P&gt;&lt;P&gt;  description Primary Server&lt;/P&gt;&lt;P&gt;  ip address 10.x.x.1&lt;/P&gt;&lt;P&gt;  conn-limit max 2000000 min 1500000&lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;rserver host Server02&lt;/P&gt;&lt;P&gt;  description Secondary Server&lt;/P&gt;&lt;P&gt;  ip address 10.x.x.2&lt;/P&gt;&lt;P&gt;  conn-limit max 2000000 min 1500000&lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;rserver redirect Server_Redirect&lt;/P&gt;&lt;P&gt;  webhost-redirection &lt;A class="jive-link-custom" href="https://www.mysite.ie" target="_blank"&gt;https://www.mysite.ie&lt;/A&gt;&lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serverfarm host ServerAuth&lt;/P&gt;&lt;P&gt;  rserver Server01 3807&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;  rserver Server02 3807&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;serverfarm redirect ServerHTTP_Redirect&lt;/P&gt;&lt;P&gt;  rserver Server_Redirect&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;serverfarm host ServerServers&lt;/P&gt;&lt;P&gt;  rserver Server01 80&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;  rserver Server02 80&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky http-cookie server-cookie Server_Cookie_Sticky_Group&lt;/P&gt;&lt;P&gt;  cookie insert&lt;/P&gt;&lt;P&gt;  timeout 21&lt;/P&gt;&lt;P&gt;  serverfarm MyServers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http inspect match-any HTTP_URLCHECK_L7CLASS&lt;/P&gt;&lt;P&gt;  100 match url .*denied=safeSurfOn&lt;/P&gt;&lt;P&gt;  200 match url .*denied=illegal&lt;/P&gt;&lt;P&gt;  300 match url .*denied=blacklist&lt;/P&gt;&lt;P&gt;  400 match url .*logo.jpg&lt;/P&gt;&lt;P&gt;class-map match-any L4_Server_Auth&lt;/P&gt;&lt;P&gt;  description match traffic for Authentication&lt;/P&gt;&lt;P&gt;  2 match virtual-address 10.103.3.9 tcp eq 3807&lt;/P&gt;&lt;P&gt;class-map match-any L4_Server_HTTP&lt;/P&gt;&lt;P&gt;  description match traffic for VIP and HTTP Traffic&lt;/P&gt;&lt;P&gt;  2 match virtual-address 10.103.3.9 tcp eq www&lt;/P&gt;&lt;P&gt;class-map match-any L4_Server_HTTPS&lt;/P&gt;&lt;P&gt;  description match traffic for VIP and HTTPS Traffic&lt;/P&gt;&lt;P&gt;  2 match virtual-address 10.x.x.99 tcp eq https&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-any L7_Server_URL&lt;/P&gt;&lt;P&gt;  2 match http url .*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match L7_Server_LBPolicy&lt;/P&gt;&lt;P&gt;  description Server Layer 7 Load Balancing Policy&lt;/P&gt;&lt;P&gt;  class L7_Server_URL&lt;/P&gt;&lt;P&gt;    sticky-serverfarm Server_Cookie_Sticky_Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match L7_Server_LBPolicy_Auth&lt;/P&gt;&lt;P&gt;  class L7_Server_URL&lt;/P&gt;&lt;P&gt;    serverfarm ServerAuth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match L7_Server_LBPolicy_HTTP&lt;/P&gt;&lt;P&gt;  class L7_Server_URL&lt;/P&gt;&lt;P&gt;    serverfarm ServerHTTP_Redirect&lt;/P&gt;&lt;P&gt;policy-map type inspect http all-match L7_URLCHECK_POLICY&lt;/P&gt;&lt;P&gt;  class HTTP_URLCHECK_L7CLASS&lt;/P&gt;&lt;P&gt;    permit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map multi-match L4_FILTER_POLICY&lt;/P&gt;&lt;P&gt;  description L$ Server URL AVAC CHECK&lt;/P&gt;&lt;P&gt;  class L4_Server_HTTP&lt;/P&gt;&lt;P&gt;    loadbalance vip inservice&lt;/P&gt;&lt;P&gt;    loadbalance vip icmp-reply active&lt;/P&gt;&lt;P&gt;    loadbalance vip advertise active&lt;/P&gt;&lt;P&gt;    inspect http policy L7_URLCHECK_POLICY&lt;/P&gt;&lt;P&gt;policy-map multi-match L4_Server_LBPolicy&lt;/P&gt;&lt;P&gt;  description L4 Server Load-Balancing Policy&lt;/P&gt;&lt;P&gt;  class L4_Server_HTTP&lt;/P&gt;&lt;P&gt;    loadbalance vip inservice&lt;/P&gt;&lt;P&gt;    loadbalance policy L7_Server_LBPolicy_HTTP&lt;/P&gt;&lt;P&gt;    loadbalance vip icmp-reply active&lt;/P&gt;&lt;P&gt;    loadbalance vip advertise active&lt;/P&gt;&lt;P&gt;  class L4_Server_HTTPS&lt;/P&gt;&lt;P&gt;    loadbalance vip inservice&lt;/P&gt;&lt;P&gt;    loadbalance policy L7_Server_LBPolicy&lt;/P&gt;&lt;P&gt;    loadbalance vip icmp-reply&lt;/P&gt;&lt;P&gt;    loadbalance vip advertise active&lt;/P&gt;&lt;P&gt;    ssl-proxy server SSL_Server_Server&lt;/P&gt;&lt;P&gt;  class L4_Server_Auth&lt;/P&gt;&lt;P&gt;    loadbalance vip inservice&lt;/P&gt;&lt;P&gt;    loadbalance policy L7_Server_LBPolicy_Auth&lt;/P&gt;&lt;P&gt;    loadbalance vip icmp-reply&lt;/P&gt;&lt;P&gt;    loadbalance vip advertise active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface vlan 291&lt;/P&gt;&lt;P&gt;    service-policy input L4_Server_LBPolicy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 00:16:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925944#M18246</guid>
      <dc:creator>fiachragroarke</dc:creator>
      <dc:date>2008-06-13T00:16:39Z</dc:date>
    </item>
    <item>
      <title>ACE URL Matching</title>
      <link>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925945#M18247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the nice solution. I just want to add to your post, that multiple "match http cookie secondary" statements are possible under the same class-map. Match-all keyword can be used for more granular class-map matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lubomir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 14:11:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/ace-url-matching/m-p/925945#M18247</guid>
      <dc:creator>Lubo1</dc:creator>
      <dc:date>2012-09-11T14:11:52Z</dc:date>
    </item>
  </channel>
</rss>

