- Регистрация
- 11 Фев 2013
- Сообщения
- 945
- Реакции
- 270
- Модер.
- #1.631
Проверте содержимое файла /root/bitrix.env/etc/httpd/mod_ntlm.conf
Код:
<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>
Там только про www. У меня же сайты в ext_www. Каталога www нет впринципе, т.к. я удалил сайтпо умолчанию.
В тоже время в конфигурации сайта все прописано как нужно:
Код:
<Directory /home/bitrix/ext_www/site.ru>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
DirectoryIndex index.php index.html index.htm
Order allow,deny
allow from all
php_admin_value session.save_path /tmp/php_sessions/ext_www/site.ru
php_admin_value upload_tmp_dir /tmp/php_upload/ext_www/site.ru
</Directory>