URL Management and .htaccess

I followed the documentation here : http://www.yiiframework.com/doc/guide/1.1/en/topics.url on URL management and also the section 6 of it. Everything seems to be working perfectly on my local machine.

But when I migrated to a web server , I got the following error

My main.php configuration file has the following configuration for URL management



















My .htaccess file is as follows:

RewriteEngine on

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    # otherwise forward it to index.php

    RewriteRule ^([a-zA-Z0-9\-]+)$ index.php?page=$1 [L,NC]

I tried in lower cases as well >


BUT it didn’t work!

ven if I manually enter website.com/search_best_boat_deals doesnot work …and even website.com/site/vessels gives me the same error… I dont know whats wrong with this .htaccess file… the site works perfectly on my laptop

This only happens with just one url or with all url?

The name of the controllers must be like this: NameController (With two upper letters). It can’t be like this: MyNameController.