I see how the default route is setup and how default actions get mapped
in this manner:
http://www.domain.com/cake/controller/action/$var1
assuming that cake is set up in the development environment.

What I'd like to be able to do is have:
http://www.domain/com/cake/$var1
map to a controller and action and pass $var1 to the action configured
in routes.php.

Ideally, I'd like to remove the default behavior for the controller of
ignoring the trailing slash and have something like:
   $Route->connect('/',array('controller'=>'profiles',
'action'=>'index','query'));

in routes.php.
Maybe it could be done via .htaccess but I'm no expert on that.

Is this possible?

thanks,

-j


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