<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>The Ignition Project: Windows + Apache + SSPI + SSL + NTLM + IE + POST data got you down?</title>
    <link>http://www.ignition-project.com/articles/2008/09/22/windows-apache-sspi-ssl-ntlm-ie-post-data-got-you-down</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Open Source Collaboration Solutions</description>
    <item>
      <title>Windows + Apache + SSPI + SSL + NTLM + IE + POST data got you down?</title>
      <description>&lt;p&gt;For some reason, when using NTLM authentication on Apache through the &lt;code&gt;mod_auth_sspi&lt;/code&gt; module (combined with SSL, but that might not be a requirement), Internet Explorer will refuse to send POST data along with a request at random points in time. It will still send a POST request, but it just doesn&amp;#8217;t send data.&lt;/p&gt;

&lt;p&gt;This seems to only affect IE users on domains with Integrated Windows Authentication (IWA). My CrossOver-emulated IE6 works fine with Basic authentication over the secure site we have set up doing IWA (of course I have to type in my credentials). But my Windows machine authenticating using IWA drops POST data!&lt;/p&gt;

&lt;p&gt;After tireless Googling, I think I have a solution. It sucks, but it&amp;#8217;s the best I can do. Suggestions welcome:&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;SetEnvIf User-Agent &amp;quot;.*MSIE.*&amp;quot; ssl-unclean-shutdown
MaxKeepAliveRequests 1&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;What this does is for MSIE, it tells &lt;code&gt;mod_ssl&lt;/code&gt; to uncleanly shutdown. And it makes KeepAlive/HTTP Pipelining on, but only for one request. With KeepAlive turned off, IE doesn&amp;#8217;t work at all. It gives a &amp;#8220;Page Cannot be Displayed&amp;#8221; error&amp;#8230; probably because it&amp;#8217;s attempting to NTLM authenticate, lost the socket, and dies.&lt;/p&gt;

&lt;p&gt;What&amp;#8217;s this mean for everyone else that follows the rules? They don&amp;#8217;t get any benefit from HTTP pipelining. Which &lt;em&gt;totally&lt;/em&gt; sucks. So hopefully you don&amp;#8217;t have this problem&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Mon, 22 Sep 2008 17:47:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:562b9381-0d44-4c49-a90d-8301db50d8e6</guid>
      <author>Keith Gable</author>
      <link>http://www.ignition-project.com/articles/2008/09/22/windows-apache-sspi-ssl-ntlm-ie-post-data-got-you-down</link>
      <category>Howto</category>
      <category>Hacks</category>
      <category>microsoft</category>
      <category>stupid</category>
      <category>web</category>
      <category>administration</category>
    </item>
    <item>
      <title>"Windows + Apache + SSPI + SSL + NTLM + IE + POST data got you down?" by gnome</title>
      <description>&lt;p&gt;Thank you! Finally a solution. This has been driving me nuts.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Nov 2008 09:57:07 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:8e91b0a8-5ecc-4765-abd6-3418d31eb358</guid>
      <link>http://www.ignition-project.com/articles/2008/09/22/windows-apache-sspi-ssl-ntlm-ie-post-data-got-you-down#comment-1654</link>
    </item>
  </channel>
</rss>
