404 Not Found Error On Links

My home page is loading fine but other links are not working.

my htaccess is


RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php

And my config.php URL manager is


'urlManager'=>array(

			'urlFormat'=>'path',

			'rules'=>array(

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

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

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

				

				'gii' => 'gii/<controller>',

				

				'admin' => 'admin/default/index',

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

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

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


				'gii' => 'gii/default/index',

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

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

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

								

				/*

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

				'<category:[a-zA-Z-0-9]+>'=>'category/index',

				'<category:[a-zA-Z-0-9]+>/<product:[a-z-A-Z0-9]+>'=>'product/index',*/

			),

			'showScriptName'=>false,

		),



The above htaccess and config is working fine on my local dev pc.But when i uploaded online i get 404 error. Please help.My development is over.need to put online

Check that mod_rewrite is enabled.

yes mod_rewrite is enaled