I'm runing PRADO and Yii in the same server.
In PRADO I don't have problem about this. URL-Friendly working perfectly.
But, not in Yii.
I tried to put .htaccess in blog demos application:
Options +FollowSymLinks IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php
and config. in main.php
'urlManager'=>array( 'urlFormat'=>'path', 'rules'=>array( 'posts'=>'post/list', 'post/<id:d+>'=>'post/show', 'post/update/<id:d+>'=>'post/update', 'tag/<tag>'=>'post/list', ), ),
But "index.php" still appear in URL.
Thanks