I think if you use the html helper to generate your url's this will solve your problem.

On 6/27/06, bitrace < [EMAIL PROTECTED]> wrote:

Hi All!

Great framework being baked here!

I'd appreciate a bit of help with the following.

I'm running the lastest version of Cake (1.1.5.3148) on an Apache
webserver, where mod re-write is NOT available, so I've deleted the 3
.htaccess files and
uncommented the BASE_URL line in core.php.  Everything seems to be
running fine except some problem with the controllers flash and
redirect methods which are producing some strange URLs.

The problem occurs when I call $this->redirect('/users/view') or
$this->flash('/users/view') the new url produced is actually appended
to the EXISTING url instead of being appended to the BASE_URL.

i.e.  while I would expect a new url of the form
www.someurl.com/index.php/users/view I'm getting
www.someurl.com/index.php/lastcontroller/lastaction/users/view.

Is this a bug or have missed something in the configuration set up?

Thanks,

Clive



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

Reply via email to