<?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 Action-List - Multiples in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176860#M24296</link>
    <description>&lt;P&gt;I currently have an action-list configured under a Policy-Map. The Action-List looks for a certain Header Value and Rewrites it slightly modifying the Header Value. I need to apply another Action-List to the same Policy-Map but am not sure how to do it. It only allows me to specify one action-list. I currently have the action-list configured under the 'class class-default' within the policy-map. DO I need to create two new classes and use these to apply one action-list each?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;action-list type modify http LOCATION_REWRITEQQQ&lt;/P&gt;&lt;P&gt;  header rewrite response location header-value "&lt;A class="jive-link-custom" href="http://qqq.mycompany.com/test/test" target="_blank"&gt;http://qqq.mycompany.com/test/test&lt;/A&gt;" replace "&lt;A class="jive-link-custom" href="https://qqq.mycompany.com/test/test" target="_blank"&gt;https://qqq.mycompany.com/test/test&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match QQQ-Sticky&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;    sticky-serverfarm QQQ-Sticky&lt;/P&gt;&lt;P&gt;    action LOCATION_REWRITEQQQ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to look for &lt;A class="jive-link-custom" href="http://ppp.mycompany.com/test2/test2" target="_blank"&gt;http://ppp.mycompany.com/test2/test2&lt;/A&gt; and rewrite it with https. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are very specific URLs within the Host Header so I cannot use a wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can do a rServer redirect to HTTPS but for some reason I cannot use that logic in this situation..&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2009 19:24:51 GMT</pubDate>
    <dc:creator>phil.wightman</dc:creator>
    <dc:date>2009-04-08T19:24:51Z</dc:date>
    <item>
      <title>Action-List - Multiples</title>
      <link>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176860#M24296</link>
      <description>&lt;P&gt;I currently have an action-list configured under a Policy-Map. The Action-List looks for a certain Header Value and Rewrites it slightly modifying the Header Value. I need to apply another Action-List to the same Policy-Map but am not sure how to do it. It only allows me to specify one action-list. I currently have the action-list configured under the 'class class-default' within the policy-map. DO I need to create two new classes and use these to apply one action-list each?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;action-list type modify http LOCATION_REWRITEQQQ&lt;/P&gt;&lt;P&gt;  header rewrite response location header-value "&lt;A class="jive-link-custom" href="http://qqq.mycompany.com/test/test" target="_blank"&gt;http://qqq.mycompany.com/test/test&lt;/A&gt;" replace "&lt;A class="jive-link-custom" href="https://qqq.mycompany.com/test/test" target="_blank"&gt;https://qqq.mycompany.com/test/test&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match QQQ-Sticky&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;    sticky-serverfarm QQQ-Sticky&lt;/P&gt;&lt;P&gt;    action LOCATION_REWRITEQQQ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to look for &lt;A class="jive-link-custom" href="http://ppp.mycompany.com/test2/test2" target="_blank"&gt;http://ppp.mycompany.com/test2/test2&lt;/A&gt; and rewrite it with https. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are very specific URLs within the Host Header so I cannot use a wildcard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can do a rServer redirect to HTTPS but for some reason I cannot use that logic in this situation..&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2009 19:24:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176860#M24296</guid>
      <dc:creator>phil.wightman</dc:creator>
      <dc:date>2009-04-08T19:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Action-List - Multiples</title>
      <link>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176861#M24297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip Wightman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To specify the SSL URL, SSL port, and clear port for rewrite, use the ssl url rewrite location command. SSL URL rewrite changes the redirect URL from &lt;A class="jive-link-custom" href="http://" target="_blank"&gt;http://&lt;/A&gt; to &lt;A class="jive-link-custom" href="https://" target="_blank"&gt;https://&lt;/A&gt; in the Location response header from the server before sending the response to the client. By doing so, it allows you to avoid nonsecure HTTP redirects because all client connections to the web server will be SSL, thus ensuring the secure delivery of HTTPS content back to the client. Use the no form of this command to remove the SSL rewrite specification from the configuration. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ssl url rewrite location expression [sslport number1] [clearport number2] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no ssl url rewrite location expression [sslport number1] [clearport number2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage Guidelines &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you create an action list and configure an HTTP redirect URL for SSL, you must associate the action list with a Layer 3 and Layer 4 policy map. For details, see the Cisco Application Control Engine Module Server Load-Balancing Configuration Guide. &lt;/P&gt;&lt;P&gt;Examples &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To specify SSL URL rewrite using the default SSL port of 443 and clear port of 80, enter: &lt;/P&gt;&lt;P&gt;host1/Admin(config)# action-list type modify http HTTP_MODIFY_ACTLIST&lt;/P&gt;&lt;P&gt;host1/Admin(config-actlist-modify)# ssl url rewrite location &lt;A class="jive-link-custom" href="http://www.website.com" target="_blank"&gt;www.website.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the ACE rewrites all HTTP redirects to &lt;A class="jive-link-custom" href="http://www.website.com/" target="_blank"&gt;http://www.website.com/&lt;/A&gt; as &lt;A class="jive-link-custom" href="https://www.website.com/" target="_blank"&gt;https://www.website.com/&lt;/A&gt; and forwards them to the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following URL :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/command/reference/actnlist.html#wp1041777" target="_blank"&gt;http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/command/reference/actnlist.html#wp1041777&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this useful plz rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 21:05:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176861#M24297</guid>
      <dc:creator>sachinga.hcl</dc:creator>
      <dc:date>2009-04-08T21:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Action-List - Multiples</title>
      <link>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176862#M24298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. This still leads to the same problem. I have TWO URLs I need to rewrite that are specific.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to rewrite...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://one.test.com/firstpage/index.htm" target="_blank"&gt;http://one.test.com/firstpage/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as well as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://two.test.com/firstpage/index.htm" target="_blank"&gt;http://two.test.com/firstpage/index.htm&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but NOT rewrite &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://one.test.com/secondpage/index.htm" target="_blank"&gt;http://one.test.com/secondpage/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://two.test.com/secondpage/index.htm" target="_blank"&gt;http://two.test.com/secondpage/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be specific in which ones I rewrite. The manual you have quoted is too generic in what my options are.  As I mentioned earlier in my post, this works if I use a specific action list but I need more the one action list for the specific URLs I am rewriting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 12:10:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/action-list-multiples/m-p/1176862#M24298</guid>
      <dc:creator>phil.wightman</dc:creator>
      <dc:date>2009-04-09T12:10:21Z</dc:date>
    </item>
  </channel>
</rss>

