ShowScriptName false

Всем доброго времени суток. Проблема в следующем: не работает showScriptName => false, не работает только на одном компе,сайт с теми же настройками urlManager на рабочем компе работает, следовательно проблема либо в настройках сервера либо в пхп(второе врядли). Выдает ошибку Not Found причем страницу отображает стандартную для Апача,а не настроенную у сайта.


'urlManager'=>array(

			'urlFormat'=>'path',

            //'urlSuffix'=>'/',

            'showScriptName'=>false,

            'rules'=>array(

                'adminpanel/page/<type:(static|news|article)>'=>'/adminpanel/page/index/type/<type>',

                'adminpanel/page/<type:(static|news|article)>/<action:\w+>'=>'/adminpanel/page/<action>/type/<type>',

                'adminpanel/statictext/<action>/<id>'=>'/adminpanel/statictext/<action>',

                'adminpanel/<controller:(goods)>/user/<uid>'=>'/adminpanel/<controller>/index',

                'adminpanel/<controller:\w+>/<action:\w+>'=>'/adminpanel/<controller>/<action>',

                'adminpanel/<controller:\w+>/<action:\w+>/<id:\d+>'=>'/adminpanel/<controller>/<action>',

                'adminpanel/'=>'/adminpanel/main',


                //редактор статического текста

                '<controller:(texteditor)>/<action>'=>'<controller>/<action>',

                

                //профиль пользователя

                '<controller:(profile)>' => '<controller>/index',

                '<controller:(profile)>/<action:(edit)>' => '<controller>/<action>',

                

                //главная

                ''=>'site/index',

                

                //страницы регистрации/логина/логаута/напоминания пароля - вводятся сразу без имени контроллера

                '<action:(registration|login|logout|remind|cart|order|my_order|favourite|sitemap|generate_sitemap|contact|reviews)>' => 'site/<action>',

                

                //каталог

                '<controller:(catalog)>/brand/<brand_path>/filter/<fparams>' => '<controller>/index',

                '<controller:(catalog)>/brand/<brand_path>' => '<controller>/index',

                '<controller:(goods)>/<action:(to_favourite|response|compare|buy_one_click)>'=>'<controller>/<action>',

                '<action:(search)>/<text>' => 'catalog/<action>',

                '<action:(search)>' => 'catalog/<action>',

                '<controller:(catalog)>/<path>/filter/<fparams>' => '<controller>/index',

                '<controller:(catalog)>/filter/<fparams>' => '<controller>/index',

                '<controller:(catalog|goods)>/<path>' => '<controller>/index',

                '<controller:(catalog)>' => '<controller>/index',

                

                //открываем страницу/новость по ЧПУ

                '<type:(news|article)>/<path>'=>'page/index',

                '<type:(news|article)>'=>'page/index',

                '<path>'=>'page/index',

                

                '<controller:\w+>/<id:\d+>'=>'<controller>/index',

                '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',

                '<controller:\w+>/<action:\w+>/*'=>'<controller>/<action>',

                

                //открываем индекс контроллера если указан только язык и контроллер, иначе язык будет интерпретироваться как контролллер

                '<controller:\w+>'=>'<controller>/index',                

            ),/**/

		),

.htaccess:


RewriteEngine on

RewriteBase /

# запрет просмотра директорий без index-а

Options -Indexes


# дефолтная кодировка сайта

AddDefaultCharset utf-8


RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !(.*)/$

RewriteCond %{REQUEST_URI} !(adminpanel.*)

RewriteCond %{REQUEST_URI} !(translit_it)

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


#Редирект с пустого фильтра на страницу

RewriteRule ^(.*)/filter/$ $1 [L]


# дубль с main 

RewriteRule ^index/$ / [R=301,L]

RewriteRule ^page/index/$ / [R=301,L]


# убираем www

RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]

RewriteRule ^(.*)$ http://%1/$1 [R=301,L,NE]


# если директория или файл существуют, использовать их напрямую

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

# иначе отправлять запрос на файл index.php

RewriteRule . index.php


#редирект с index.php на главную

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/

RewriteRule ^index\.php$ / [R=301,L]

Уже разобрался,вроде как…