Re: [PEPr] Comment on Authentication::NTLMProxy

From: Date: Tue, 27 Jun 2006 05:14:44 +0000
Subject: Re: [PEPr] Comment on Authentication::NTLMProxy
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43134@lists.php.net to get a copy of this message
Hi Pierre, Pierre wrote: >> I use IP, Server and path to have the possibility to set various >> stages like development, testing and production environments. >> >> > Does this work good without PHP being mod_php in Apache? >> >> no, sorry, because of Keep-Alive. > > That's new, it did work before. Or am I confused with the > module :) ? I doubt it will work with CGI - NTLM is connection-based, the whole handshake (and the final request) needs to be within the same HTTP connection so we need a persistent socket connection to the NTLM protected server available over multiple requests to our PHP proxy. CGI would shutdown the connection after every request so the backend server would always restart the authentification process. As you know we're running it as Apache module in production. Other SAPIs (maybe even FasTCGI) _might_ work, but there wasn't any effort to test this :-) johannes -- Johannes Schlüter Mayflower GmbH / ThinkPHP http://thinkphp.de http://blog.thinkphp.de

« previous php.pear.dev (#43134) next »