@Red_Fox_My

Yii2 advanced assets не подгружаются файлы из assets, в чем проблема?

Yii2 advanced assets не подгружаются файлы из assets
5a86ea8b1f51c072973079.png
Делал чпу по инструкции - https://github.com/yiisoft/yii2-app-advanced/blob/...

Ниже привожу код httpd.conf
httpd.conf
# Ansible managed
# site: info.megapolys.com
<VirtualHost 127.0.0.1:8887>
    ServerName  info.megapolys.com
	ServerAlias www.info.megapolys.com
    	ServerAdmin webmaster@localhost
	DocumentRoot  /home/bitrix/ext_www/info.megapolys.com/frontend/web/

	ErrorLog logs/info_error_log
	LogLevel warn
	CustomLog logs/info_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/info.megapolys.com/frontend/web/>
	
	    RewriteEngine on
	    
	    RewriteCond %{REQUEST_FILENAME} !-f
	    RewriteCond %{REQUEST_FILENAME} !-d
	    
	    RewriteRule . index.php
	    
	    DirectoryIndex index.php
	    
		#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/info.megapolys.com
        php_admin_value upload_tmp_dir    /tmp/php_upload/ext_www/info.megapolys.com
	</Directory>

	<Directory /home/bitrix/ext_www/info.megapolys.com/bitrix/cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/info.megapolys.com/bitrix/managed_cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/info.megapolys.com/bitrix/local_cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/info.megapolys.com/bitrix/stack_cache>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/info.megapolys.com/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/info.megapolys.com/upload/support/not_image>
		AllowOverride none
        Require all denied
	</Directory>

	<Directory /home/bitrix/ext_www/info.megapolys.com/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/info.megapolys.com/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>
  • Вопрос задан
  • 155 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы