my apache web root is D:\WebDev\www\

my cake is placed in D:\WebDev\www\pet

there is app cake vendors .htaccess index.php in D:\WebDev\www\pet

i write a controller post ,view add for it ,and connected to mysql
but http://localhost/pet/posts/add/ page is not found
i can access http://localhost/pet/


my routes.php is
///////////////////////////////////////////////////////////////////
<?      Router::connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));

        Router::connect('/pages/*', array('controller' => 'pages', 'action'
=> 'display'));
        Router::connect('/tests', array('controller' => 'tests', 'action' =>
'index'));



         Router::connect('/pet/posts/:action/*', array('controller' =>
'posts', 'action' => 'add'));


?>
/////////////////////////////////////////////////////////////////////


where is the problem and what is the solution .
thank you very much


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to