I believe your route should be this:

$Route->connect('/', array('controller' => 'pages', 'action' =>
'display', 'welcome'));

And Chris is righ also that your web server may not be respecting
the .htaccess file.  Make sure that it is in your /cake/ directory.
If you just drag-copied the files there it may not have copied the
hidden .htaccess file.

Later,

   Dan

On Dec 24, 1:35 pm, boris <[EMAIL PROTECTED]> wrote:
> Hi. I'm trying to make the URLhttp://localhost/cake/point to the
> 'welcome' action in controller 'PagesController'. To achieve this, I
> add... $Route->connect('/', array('controller' => 'pages', 'action' =>
> 'welcome')); ... to app/config/routes.php. However, when I got 
> tohttp://localhost/cake/, the browser displays a listing of the contents
> in app/webroot. Any light you can shed on this will be much
> appreciated!
>
> Thank you.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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