I'm not too experient about .htaccess, but what if you use a rewrite
rule instead of a redirect?

Lucca Mordente

On 24 mar, 17:39, "Andreas D." <[email protected]> wrote:
> Hi there!
> I have a Problem with my App.
> In my .htaccess, i added some lines to redirect the user if the url
> ends without a slash to the same page with a slash.
> For example:
> redirect
>     /posts/view/2
> to
>     /posts/view/2/
>
> Now, I have a form /posts/add/. I use the Cakehelper to create it, and
> it makes a <form action="/posts/add" ... tag.
> If the user now submits the form, he gets redirected since the action
> says /posts/add and not /posts/add/ and ALL post data get lost :(
>
> Found only this post with the same 
> problem:http://groups.google.com/group/cake-php/browse_thread/thread/b98f3ccd...
>
> Hope anyone can help me with this..
> Thanks!
> Andi

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to