Problem Apache 2.2 Yii2 Advanced Template.

Good Afternoon I have two servers with local one centos 7 php 5.4.16 apache 2.4.6 and in production with centos 6.6 vps apache 2.2 and php 5.4.35, my application works fine in the development server to upload the vps does not the backend searched and read on google and nothing anyone could help me,

Note: Frontend working fine.

  Bakend no working.

Best Regards

Wilmer.

VirtualHost:

<VirtualHost *:80>

# Valores generales del proyecto


ServerAdmin root@localhost


ServerName www.centosyii.com


ServerAlias www.centosyii.com


DocumentRoot /home/cjtterabyte/public_html/Advanced


# Para hacer un registro de errores


LogLevel warn


ErrorLog  /var/log/apache/Advanced/error.log


CustomLog /var/log/apache/Advanced/access.log combined

</VirtualHost>

Configuration.

/Advanced —> root aplication:

.htaccess:

prevent directory listings

Options -Indexes

IndexIgnore /

follow symbolic links

Options FollowSymlinks

RewriteEngine on

RewriteEngine on

RewriteRule ^admin(/.+)?$ /backend/web/$1 [L,PT]

RewriteRule ^(admin)/$ /$1 [L,R=301]

RewriteRule ^(.+)?$ /frontend/web/$1

/Advanced/backend/web:

.htacess:

if a directory or a file exists, use the request directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

otherwise forward the request to index.php

RewriteRule . index.php

/Advanced/frontend/web:

RewriteEngine on

if a directory or a file exists, use the request directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

otherwise forward the request to index.php

RewriteRule . index.php

Log:

Error:

[Sun Dec 07 15:41:06 2014] [error] [client XXX.X.XXX.XXX] File does not exist: /home/cjtterabyte/public_html/Advanced/backend/web/site

Solved add .htaccess backend y frontend RewriteEngine On