Issue Feature Closed

#14730Proxy Config compatibility with MS ISA Servers

Guillaume Crico 05/13/05, 13:48 updated 10/02/18, 12:39

Description

Using proxy connection wia curl on typo fails to pass thru MS ISA servers.

HOW TO FIX :

Add this Line to your localconf.php :
$TYPO3_CONF_VARS[‘SYS’][“curlProxyNTLM”] = ‘1’;

Modify class.t3lib_div.php (both on windows…) :

if ($GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘curlProxyServer’]) {
curl_setopt ($ch, CURLOPT_PROXY, $GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘curlProxyServer’]);
+/* ISA server support /
+ if ($GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘curlProxyNTLM’]) {
+ curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_NTLM);
+ }
+/
END ISA server support */
// I don’t know if it will be needed
if ($GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘curlProxyTunnel’]) {
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, $GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘curlProxyTunnel’] );

Should add an option in install tool ?
Should test more deeply curl CURLOPT_PROXYAUTH option.

(issue imported from #M1072)

Reviews 1