Your IP : 18.188.42.190


Current Path : /etc/httpd/bx-scale/conf/
Upload File :
Current File : //etc/httpd/bx-scale/conf/ext_crm.klimatlend.ua.conf

# Ansible managed
# site: crm.klimatlend.ua
<VirtualHost 127.0.0.1:9887>
    ServerName  crm.klimatlend.ua
	ServerAlias www.crm.klimatlend.ua
    	ServerAdmin webmaster@localhost
	DocumentRoot  /home/bitrix/ext_www/crm.klimatlend.ua

	ErrorLog logs/crm_error_log
	LogLevel warn
	CustomLog logs/crm_access_log combined

	<IfModule mod_rewrite.c>
		#Nginx should have "proxy_set_header HTTPS YES;" in location
		RewriteEngine On
		RewriteCond %{HTTP:HTTPS} =YES
		RewriteRule .* - [E=HTTPS:on,L]
	</IfModule>



	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>

	<DirectoryMatch .*\.svn/.*>
        Require all denied
	</DirectoryMatch>

	<DirectoryMatch .*\.git/.*>
		 Require all denied
	</DirectoryMatch>

	<DirectoryMatch .*\.hg/.*>
		 Require all denied
	</DirectoryMatch>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		DirectoryIndex index.php index.html index.htm

        Require all granted

        php_admin_value session.save_path /tmp/php_sessions/ext_www/crm.klimatlend.ua
        php_admin_value upload_tmp_dir    /tmp/php_upload/ext_www/crm.klimatlend.ua
        #php_admin_value sendmail_path "/usr/bin/msmtp --debug -t -a crm.klimatlend.ua -i"
        php_admin_value sendmail_path /home/bitrix/maildebug.sh

	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/managed_cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/local_cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/stack_cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/upload>
		AllowOverride none
		AddType text/plain php,php3,php4,php5,php6,phtml,pl,asp,aspx,cgi,dll,exe,ico,shtm,shtml,fcg,fcgi,fpl,asmx,pht
		php_value engine off
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/upload/support/not_image>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/images>
		AllowOverride none
		AddType text/plain php,php3,php4,php5,php6,phtml,pl,asp,aspx,cgi,dll,exe,ico,shtm,shtml,fcg,fcgi,fpl,asmx,pht
		php_value engine off
	</Directory>

	<Directory /home/bitrix/ext_www/crm.klimatlend.ua/bitrix/tmp>
		AllowOverride none
		AddType text/plain php,php3,php4,php5,php6,phtml,pl,asp,aspx,cgi,dll,exe,ico,shtm,shtml,fcg,fcgi,fpl,asmx,pht
		php_value engine off
	</Directory>

</VirtualHost>