Try putting in app/config/routes.php

Router::connect('/directory', array('controller' => 'somecontroller',
'action' => 'theaction'));




On Dec 7, 2007 5:05 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm starting to toy with CakePHP and while I've gone over the
> tutorials I could find I can't seem to locate this information. I want
> to be able to hit my site http://www.mydomain.com/directory and am
> trying to get it to hit an index page, so effectively index.php as if
> I was creating scripts in my normal method.
>
> Perhaps I am going about it the wrong way for CakePHP but I am unsure
> of how to handle this.
>
> So I want the user to hit my site and check for a session. I found
> some good tutorials on sessions so I'm sure that will go fine but this
> index file I'm having problems with. I made an index controller and
> index model but there is no index table so I'm receiving an error.
>
> If there is no session I want them to be prompted to login or
> register...am I going about this the wrong way with the framework?
> >
>

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