On Dec 24, 2007 1:35 PM, boris <[EMAIL PROTECTED]> wrote:
>
> Hi. I'm trying to make the URL http://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 to
> http://localhost/cake/, the browser displays a listing of the contents
> in app/webroot. Any light you can shed on this will be much
> appreciated!

Check your web server configuration.  Sounds like you might not have
set the Index property (or whatever the equivalent in IIS) so that it
looks for webroot/index.php.

Hope that helps.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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