<?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: Redirecting http to https in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585288#M11062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are actually mixing 2 features here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CSS with the SSL module can parse server response and modify a 302 redirect to an HTTP page into a redirect to an HTTPS page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, you need to intercept all traffic and create your own redirect.&lt;/P&gt;&lt;P&gt;This is possible as well.&lt;/P&gt;&lt;P&gt;Here is a link to the documentation :&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/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml#t4" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml#t4&lt;/A&gt;&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, 11 Aug 2006 10:56:33 GMT</pubDate>
    <dc:creator>Gilles Dufour</dc:creator>
    <dc:date>2006-08-11T10:56:33Z</dc:date>
    <item>
      <title>Redirecting http to https</title>
      <link>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585287#M11061</link>
      <description>&lt;P&gt;Hi guys, a customer of mine wants to redirect a URL on port 80 to a different URL on port 443. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He does not want the customer to have to type in a URL, and also wants the new https URL to shown in the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this easily achieved on the CSS via the domain/redirect commands. From what I read the CSS will only redirect on receiving an http 302 (page moved) message. Can it redirect even if the server is still up - I know you can very simply do this just by changing the service IP address and port but then the URL does not change in the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2006 07:38:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585287#M11061</guid>
      <dc:creator>michael.e.reid</dc:creator>
      <dc:date>2006-08-11T07:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting http to https</title>
      <link>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585288#M11062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are actually mixing 2 features here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CSS with the SSL module can parse server response and modify a 302 redirect to an HTTP page into a redirect to an HTTPS page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, you need to intercept all traffic and create your own redirect.&lt;/P&gt;&lt;P&gt;This is possible as well.&lt;/P&gt;&lt;P&gt;Here is a link to the documentation :&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/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml#t4" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml#t4&lt;/A&gt;&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, 11 Aug 2006 10:56:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585288#M11062</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2006-08-11T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting http to https</title>
      <link>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585289#M11063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the documentation:  This example demonstrates a site that is required to operate over HTTPS exclusively. If a user comes into the site using HTTP, the CSS sends the user an HTTP redirect to come back in via HTTPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this guy wants his entire site to run via https... just a partiuclar URL.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same issue.  I have 3 domains going through my CSS and I'd like to have one of them auto redirect to https, but leave the other domains alone.  Tried to adapt this documentation to it, but it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 12:55:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585289#M11063</guid>
      <dc:creator>ssrjazz</dc:creator>
      <dc:date>2006-09-28T12:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting http to https</title>
      <link>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585290#M11064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is feasible.&lt;/P&gt;&lt;P&gt;All you have to do is split the content rule in as many parts as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if you want &lt;A class="jive-link-custom" href="http://www.aaa.com" target="_blank"&gt;www.aaa.com&lt;/A&gt; to be encrypted but not the other site, here is what you can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;content AAA&lt;/P&gt;&lt;P&gt;  vip x.x.x.x&lt;/P&gt;&lt;P&gt;  proto tcp&lt;/P&gt;&lt;P&gt;  port 80&lt;/P&gt;&lt;P&gt;  url "//www.aaa.com/*"&lt;/P&gt;&lt;P&gt;  add service REDIRECT&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;content ALL&lt;/P&gt;&lt;P&gt;  vip x.x.x.x&lt;/P&gt;&lt;P&gt;  proto tcp&lt;/P&gt;&lt;P&gt;  port 80&lt;/P&gt;&lt;P&gt;  url "/*"&lt;/P&gt;&lt;P&gt;  add service LOCAL-80-1&lt;/P&gt;&lt;P&gt;  add service LOCAL-80-2&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;content AAA-HTTPS&lt;/P&gt;&lt;P&gt;  vip x.x.x.x&lt;/P&gt;&lt;P&gt;  proto tcp&lt;/P&gt;&lt;P&gt;  port 443&lt;/P&gt;&lt;P&gt;  add service LOCAL-443-1&lt;/P&gt;&lt;P&gt;  ...&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the first rule says that if traffic matches &lt;A class="jive-link-custom" href="http://www.aaa.com" target="_blank"&gt;www.aaa.com&lt;/A&gt; it should be sent a rediret message [see previous post for more info on how to do this], for all the other HTTP traffic simply loadbalance and for HTTPS traffic loadbalance to HTTPS servers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The opposite is not possible.&lt;/P&gt;&lt;P&gt;You can't intercept HTTPS traffic and redirect it to HTTP.&lt;/P&gt;&lt;P&gt;This could be done with an SSL module but then you could not use 1 vip for all, since SSL uses certificate which are linked to domain name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 13:15:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/redirecting-http-to-https/m-p/585290#M11064</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2006-09-28T13:15:01Z</dc:date>
    </item>
  </channel>
</rss>

