<?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: CSS Redirect in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663802#M33593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have to build a serperate redirect service and content rule for each domain I need to redirect?&amp;nbsp; There is no way to tell the CSS to just reidrect whatever domain and path is in the request.&amp;nbsp; I want to build one redirect service based on host and path.&amp;nbsp; One content rule for port 80 pointing to the redirect service.&amp;nbsp; This redirect is only to force all request to 443 instead of 80 for whatever the user puts in for the url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;service redirect1 &lt;BR /&gt;&amp;nbsp; type redirect &lt;BR /&gt;&amp;nbsp; protocol tcp &lt;BR /&gt;&amp;nbsp; port 80 &lt;BR /&gt;&amp;nbsp; keepalive type none &lt;BR /&gt;&amp;nbsp; domain "https://%h/%p&lt;BR /&gt;&amp;nbsp; active &lt;BR /&gt;&lt;BR /&gt;content domain1.test.net-redir &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vip address 10.1.1.100 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol tcp &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port 80 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url "/*" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add service redirect1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; active &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 20:23:45 GMT</pubDate>
    <dc:creator>shday</dc:creator>
    <dc:date>2011-04-06T20:23:45Z</dc:date>
    <item>
      <title>CSS Redirect</title>
      <link>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663800#M33591</link>
      <description>&lt;P&gt;I have a server that has multiple web instances and each web instance is using a different domain.&amp;nbsp; For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;www.spoton.com&lt;/P&gt;&lt;P&gt;www.catchtheride.com&lt;/P&gt;&lt;P&gt;www.skipper.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have about 23 different domains that I need to make sure are redirected if the initial request is http.&amp;nbsp; Is there a way to create a redirect service that would redirect the host and the path without creating a redirect service for each domain.&amp;nbsp; I know in the ACE you can us the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.cisco.com/"&gt;https://%h%p&lt;/A&gt;&lt;SPAN&gt;, but I can't seem to get this same config into the CSS.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:25:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663800#M33591</guid>
      <dc:creator>shday</dc:creator>
      <dc:date>2011-04-05T14:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Redirect</title>
      <link>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663801#M33592</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;Yes you can do want you are looking to acheive on the CSS.&amp;nbsp; What you will need to do is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) create a redirect service, regular service and two content rules (redirect rule and ssl rule) for each domain you want to catch:&lt;/P&gt;&lt;PRE&gt;service redirect1 
&amp;nbsp; type redirect 
&amp;nbsp; protocol tcp 
&amp;nbsp; port 80 
&amp;nbsp; keepalive type none 
&amp;nbsp; domain "https://domain1.test.net" 
&amp;nbsp; active &lt;BR /&gt;service siteyouwanttoredirectallto443&lt;BR /&gt;&amp;nbsp; ip address 4.4.4.4&lt;BR /&gt;&amp;nbsp; protocol tcp&lt;BR /&gt;&amp;nbsp; port 80&lt;BR /&gt;&amp;nbsp; active&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;content domain1.test.net-redir 
&amp;nbsp;&amp;nbsp;&amp;nbsp; vip address 10.1.1.100 
&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol tcp 
&amp;nbsp;&amp;nbsp;&amp;nbsp; port 80 
&amp;nbsp;&amp;nbsp;&amp;nbsp; url "//domain1.test.net/*" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; add service redirect1 
&amp;nbsp;&amp;nbsp;&amp;nbsp; active &lt;/PRE&gt;&lt;PRE&gt;content domain1.test.net-SSL 
&amp;nbsp;&amp;nbsp;&amp;nbsp; vip address 10.1.1.100 
&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol tcp 
&amp;nbsp;&amp;nbsp;&amp;nbsp; port 443
&amp;nbsp;&amp;nbsp;&amp;nbsp; add service siteyouwanttoredirectallto443
&amp;nbsp;&amp;nbsp;&amp;nbsp; active&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 17:12:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663801#M33592</guid>
      <dc:creator>stmccabe</dc:creator>
      <dc:date>2011-04-05T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: CSS Redirect</title>
      <link>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663802#M33593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have to build a serperate redirect service and content rule for each domain I need to redirect?&amp;nbsp; There is no way to tell the CSS to just reidrect whatever domain and path is in the request.&amp;nbsp; I want to build one redirect service based on host and path.&amp;nbsp; One content rule for port 80 pointing to the redirect service.&amp;nbsp; This redirect is only to force all request to 443 instead of 80 for whatever the user puts in for the url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;service redirect1 &lt;BR /&gt;&amp;nbsp; type redirect &lt;BR /&gt;&amp;nbsp; protocol tcp &lt;BR /&gt;&amp;nbsp; port 80 &lt;BR /&gt;&amp;nbsp; keepalive type none &lt;BR /&gt;&amp;nbsp; domain "https://%h/%p&lt;BR /&gt;&amp;nbsp; active &lt;BR /&gt;&lt;BR /&gt;content domain1.test.net-redir &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vip address 10.1.1.100 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol tcp &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port 80 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url "/*" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add service redirect1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; active &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 20:23:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-redirect/m-p/1663802#M33593</guid>
      <dc:creator>shday</dc:creator>
      <dc:date>2011-04-06T20:23:45Z</dc:date>
    </item>
  </channel>
</rss>

