<?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 CSM Redirect problem in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484566#M9111</link>
    <description>&lt;P&gt;I am trying to redirect HTTP traffic as SSL when users use the wrong URL. The standard SSL config works fine but as soon as I add the policy to the VSERVER nothing works and I get a "cannot find server" message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map test-http url&lt;/P&gt;&lt;P&gt;match protocol http url abc.company.com*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serverfarm test-redir&lt;/P&gt;&lt;P&gt;redirect-vserver test-http-https&lt;/P&gt;&lt;P&gt;webhost relocation abc.company.com%p&lt;/P&gt;&lt;P&gt;ssl 10000&lt;/P&gt;&lt;P&gt;inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy TEST-REDIR&lt;/P&gt;&lt;P&gt;url-map TEST-HTTP&lt;/P&gt;&lt;P&gt;serverfarm TEST-REDIR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serverfarm P-TEST-E&lt;/P&gt;&lt;P&gt;  nat server&lt;/P&gt;&lt;P&gt;  no nat client&lt;/P&gt;&lt;P&gt;  real 10.6.0.16&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;  real 10.6.0.17&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vserver P-EINVOICE-E&lt;/P&gt;&lt;P&gt;virtual 10.129.59.50 tcp 10000&lt;/P&gt;&lt;P&gt;  serverfarm P-TEST-E&lt;/P&gt;&lt;P&gt;  sticky 240 group 2&lt;/P&gt;&lt;P&gt;  persistent rebalance&lt;/P&gt;&lt;P&gt;slb-policy TEST-REDIR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2005 20:33:16 GMT</pubDate>
    <dc:creator>carlsond</dc:creator>
    <dc:date>2005-11-02T20:33:16Z</dc:date>
    <item>
      <title>CSM Redirect problem</title>
      <link>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484566#M9111</link>
      <description>&lt;P&gt;I am trying to redirect HTTP traffic as SSL when users use the wrong URL. The standard SSL config works fine but as soon as I add the policy to the VSERVER nothing works and I get a "cannot find server" message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map test-http url&lt;/P&gt;&lt;P&gt;match protocol http url abc.company.com*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serverfarm test-redir&lt;/P&gt;&lt;P&gt;redirect-vserver test-http-https&lt;/P&gt;&lt;P&gt;webhost relocation abc.company.com%p&lt;/P&gt;&lt;P&gt;ssl 10000&lt;/P&gt;&lt;P&gt;inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy TEST-REDIR&lt;/P&gt;&lt;P&gt;url-map TEST-HTTP&lt;/P&gt;&lt;P&gt;serverfarm TEST-REDIR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serverfarm P-TEST-E&lt;/P&gt;&lt;P&gt;  nat server&lt;/P&gt;&lt;P&gt;  no nat client&lt;/P&gt;&lt;P&gt;  real 10.6.0.16&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;  real 10.6.0.17&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vserver P-EINVOICE-E&lt;/P&gt;&lt;P&gt;virtual 10.129.59.50 tcp 10000&lt;/P&gt;&lt;P&gt;  serverfarm P-TEST-E&lt;/P&gt;&lt;P&gt;  sticky 240 group 2&lt;/P&gt;&lt;P&gt;  persistent rebalance&lt;/P&gt;&lt;P&gt;slb-policy TEST-REDIR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2005 20:33:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484566#M9111</guid>
      <dc:creator>carlsond</dc:creator>
      <dc:date>2005-11-02T20:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: CSM Redirect problem</title>
      <link>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484567#M9112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at first glance I would say this looks ok.&lt;/P&gt;&lt;P&gt;Capture a sniffer trace and see if you get a redirect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a 'sho mod csm X vserver name P-EINVOICE-E detail' and verify if you have hits on your slb policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the traffic coming on port tcp 10000 is HTTP or HTTPS ???&lt;/P&gt;&lt;P&gt;If HTTPS you can't use the policy with a url-map and you can't use a redirect.&lt;/P&gt;&lt;P&gt;HTTPS traffic being encrypted the CSM is unable to read it or modify it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;P&gt;Thanks for rating this answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 12:50:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484567#M9112</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-11-03T12:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: CSM Redirect problem</title>
      <link>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484568#M9113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do something simialr mroe for asthetics then anything. I use the below method. All it does it redirect the port really via  url redirect. You should eb able to append the desired port numeber to the Url. Maybe I read your request wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  serverfarm CSG&lt;/P&gt;&lt;P&gt;  nat server&lt;/P&gt;&lt;P&gt;  no nat client&lt;/P&gt;&lt;P&gt;  predictor leastconns&lt;/P&gt;&lt;P&gt;  real name PRD01&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;  real name PRD02&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;  health retries 30 failed 300&lt;/P&gt;&lt;P&gt;  probe SSL-CSG&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; serverfarm CSG-REDIR&lt;/P&gt;&lt;P&gt;  nat server&lt;/P&gt;&lt;P&gt;  no nat client&lt;/P&gt;&lt;P&gt;  redirect-vserver CSG-REDIR&lt;/P&gt;&lt;P&gt;   webhost relocation &lt;A class="jive-link-custom" href="https://csg.oxo.com" target="_blank"&gt;https://csg.oxo.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; vserver CSG-80&lt;/P&gt;&lt;P&gt;  virtual 192.168.9.160 tcp www&lt;/P&gt;&lt;P&gt;  serverfarm CSG-REDIR&lt;/P&gt;&lt;P&gt;  persistent rebalance&lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; vserver CSG-SSL&lt;/P&gt;&lt;P&gt;  virtual 192.168.9.160 tcp https&lt;/P&gt;&lt;P&gt;  replicate csrp sticky&lt;/P&gt;&lt;P&gt;  replicate csrp connection&lt;/P&gt;&lt;P&gt;  no persistent rebalance&lt;/P&gt;&lt;P&gt;  slb-policy CSG-SSL&lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 16:12:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484568#M9113</guid>
      <dc:creator>j-beltzner</dc:creator>
      <dc:date>2005-11-03T16:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSM Redirect problem</title>
      <link>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484569#M9114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to both of you but I think what I'm trying to do can't be done. In my example abc.company.com is using the VIP 10.129.59.50. What I want to happen is for https requests to use the VIP and be load balanced. Http requests should be redirected as https requests and hit the VIP again. The result of my configuration is a request comes in, the https requests don't match the policy and get dumped, http gets redirected to https hits the VIP again and gets dumped because now it is https which does not match the policy. Does anyone have an idea as to how to get around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2005 18:28:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484569#M9114</guid>
      <dc:creator>carlsond</dc:creator>
      <dc:date>2005-11-03T18:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: CSM Redirect problem</title>
      <link>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484570#M9115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the solution must come from the server side.&lt;/P&gt;&lt;P&gt;The CSM would not be able to do this as it expects traffic to be either HTTPs or HTTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 09:01:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-redirect-problem/m-p/484570#M9115</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2005-11-04T09:01:19Z</dc:date>
    </item>
  </channel>
</rss>

