мой mod_ntlm.conf из /etc/httpd/bx/conf/ выглядит так:
Код |
---|
<IfModule !auth_ntlm_winbind_module.c>
LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so
</IfModule>
Listen 8890
Listen 8891
<IfModule !ssl_module.c>
LoadModule ssl_module modules/mod_ssl.so
# httpd 2.4
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
SSLSessionCache shmcb:/var/cache/httpd/ssl/scache(512000)
SSLPassPhraseDialog builtin
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLProtocol All -SSLv2 -SSLv3
</IfModule> |
а дефолтный из /root/bitrix-env/etc/httpd/
вот так:
Код |
---|
<IfModule !auth_ntlm_winbind_module.c>
LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so
</IfModule>
Listen 8890
<VirtualHost *:8890>
ServerAdmin webmaster@localhost
DocumentRoot /home/bitrix/www_ntlm
KeepAlive On
<Directory /home/bitrix/www_ntlm/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
DirectoryIndex index.php index.html index.htm
Order allow,deny
allow from all
AuthName "NTLM Authentication thingy"
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user
php_admin_value session.save_path /tmp/php_sessions/www
php_admin_value upload_tmp_dir /tmp/php_upload/www
</Directory>
ErrorLog logs/error_log
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
# CustomLog logs/access_log combined
</VirtualHost>
<IfModule !ssl_module.c>
LoadModule ssl_module modules/mod_ssl.so
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout 300
SSLMutex default
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
</IfModule>
Listen 8891
<VirtualHost *:8891>
ServerAdmin webmaster@localhost
DocumentRoot /home/bitrix/www_ntlm
KeepAlive On
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/nginx/ssl/cert.pem
SSLCertificateKeyFile /etc/nginx/ssl/cert.pem
<Directory /home/bitrix/www_ntlm/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
DirectoryIndex index.php index.html index.htm
Order allow,deny
allow from all
AuthName "NTLM Authentication thingy"
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user
php_admin_value session.save_path /tmp/php_sessions/www
php_admin_value upload_tmp_dir /tmp/php_upload/www
</Directory>
ErrorLog logs/error_log
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
# CustomLog logs/access_log combined
</VirtualHost> |
разница существенная