I see such pages instead of every page of my project:
[indent]Page Not Found
Unable to resolve the request "my/pages".
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
2012-05-07 13:06:03 Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.1b DAV/2 PHP/5.3.12 with Suhosin-Patch Yii Framework/1.1.10[/indent]
I don’t know what could cause this. I haven’t touched the project for a while, an recently I’ve updated Yii. Maybe PHP or Apache was updated, too, during the time I haven’t edited project — I’m not sure.
The message above is shown when I try to open /my/pages/. Both MyController in controllers/ and actionPages() in it exist, of course. I’ve thought that there is some problem with file permissions (the OS is Arch Linux), so I tried to move the entire project from NTFS partition to ext4 partition, but nothing changed. So, I think the problem is not with file permissions.
The main configuration file is almost default:
[spoiler]
<?php
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'Well... my project title is here :-)',
'preload'=>array('log'),
'import'=>array(
'application.models.*',
'application.components.*',
),
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'Well... my password is here :-)',
'ipFilters'=>array('127.0.0.1','::1'),
),
),
'components'=>array(
'user'=>array(
'allowAutoLogin'=>true,
),
'urlManager'=>array(
'urlFormat'=>'path',
'caseSensitive' => false,
'showScriptName' => false,
'rules'=>array(
'r/<id:\d+>.<mime>' => 'showResource'
// Tried to remove this. The problem didn't disappear.
),
),
'db'=>array(
// Well... my MySQL connection data are here :-)
),
// 'errorHandler'=>array(
// 'errorAction'=>'site/error', // Commented out as far as I've deleted default SiteController.
// ),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
),
),
),
'params'=>array(
'adminEmail'=>'Well.. my email is here :-)',
),
);
[/spoiler]
I tried to comment out almost every line in the config, but nothing changed.
So, I hope somebody can help me. What could it all mean?