I have install mod_ntlm 2.0 in Linux Ent3/Apache2.0/PHP4.3.11/mysql 4.1 successfully and configure the httpd.conf with the following:
LoadModule ntlm_module modules/mod_ntlm.so
<Location /usr/local >
AuthType NTLM
NTLMAuth on
NTLMAuthoritative on
NTLMDomain IDTPEN
NTLMServer penbdc1
NTLMBackup penbdc2
require valid-user
</Location>
And then restarted the apache server.
I create test page to display $_SERVER['REMOTE USER] and display it, but there was no value echo. However the other echo works.
<html>
<head>Test</head>
<body>
<?php
echo 'Your user id is:' .$_SERVER['REMOTE_USER'];
echo 'TEST';
echo "TEST 123";
phpinfo();
?>
Anyone have any ideas why it does not work?
Urgent
Thanks.
Steven -> s_wfc99@yahoo.com