Url Doesn't Work

.htaccess

[PHP]

AddType application/x-javascript .js

AddType text/css .css

AddType text/xml .xml

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

[/PHP]

config

[PHP]

‘urlManager’ => array

(

'urlFormat' => 'path',


'showScriptName' => false,


'rules' => include('urls.php')

)

[/PHP]

urls.php

[PHP]

<?php

return array

(

'index.html'      =&gt;    'site/index',


'proverb.html'    =&gt;    'site/proverb',


'about.html'      =&gt;    'site/about',





'catgory.html'   =&gt; 'item/catgory',


'p_catgory.html' =&gt; 'item/pcatgory',





'admin.html' =&gt; 'admin/index',


'admin-logout.html' =&gt; 'admin/logout',


'admin-catgory.html' =&gt; 'admin/catgory',


'admin-pcatgory.html' =&gt; 'admin/pcatgory',


'admin-delete-catgory.html' =&gt; 'admin/deleteCatgory',


'admin-delete-pcatgory.html' =&gt; 'admin/deletePCatgory',


'admin-item.html' =&gt; 'admin/item'

);

?>

[/PHP]

it’s just doesn’t work…

Hi ilikeme

What message is dispayed to you?

Did you have enabled the rewrite modult of apache server

Do you have wampserver or any other localhost server for testing?

Post more specific details of your issue