<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: ISAPI code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 12 Oct 2008 20:51:29 GMT</pubDate>
    <description>DZone Snippets: ISAPI code</description>
    <item>
      <title>Redirect all HTTP requests to HTTPS with ISAPI Rewrite</title>
      <link>http://snippets.dzone.com/posts/show/3866</link>
      <description>To redirect all HTTP requests to HTTPS with ISAPI Rewrite you can use the following rewriting rules in your httpd.ini file:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# redirect all http requests  to https&lt;br /&gt;RewriteCond  %HTTPS (?!on).*&lt;br /&gt;RewriteCond Host: (.*)&lt;br /&gt;RewriteRule (.*) https\://$1$2 [I,RP]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Thanks to &lt;a href="http://www.ivanuzunov.net/" title="Ivan Uzunov"&gt;Ivan Uzunov&lt;/a&gt;</description>
      <pubDate>Tue, 24 Apr 2007 08:25:44 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3866</guid>
      <author>volume4 (Schalk Neethling)</author>
    </item>
  </channel>
</rss>
