Hi,
I use wamp server on Windows 7 and I have a problem with hide index.php in my URL. C:/wamp it’s the wamp server path and C:/wamp/www it’s my application path. That’s my .htaccess file (placed on C:/wamp/www):
RewriteEngine on
# jeśli katalog lub plik istnieją, użyj ich 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# w przecwinym przypadku przekaż do index.php
RewriteRule . index.php
And httpd.conf:
<Directory />
    AllowOverride All
    Require all granted
</Directory>
C:/wamp/www/protected/config/main.php :
'urlManager'=>array(
            'urlFormat'=>'path',
            'showScriptName'=>false,
            'rules' => array(
                '<controller:\w+>/<id:\d+>' => '<controller>/view',
                '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
                '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
        ),
),
Of coursce I was turned on rewrite mod in apache.
And now http://localhost/site/index throw #404 error.
But this URL http://localhost/index.php/site/index working perfectly.
I don’t have any ideas what I doing wrong. Please help.
And sorry for my english 