Monday, September 27, 2010

http routes ok, https alsways redirects to pages/home at first call...

Hey,

in one of my apps I have a route to an action in controller 'admins'
which is called 'signup'. As you probably already get what this action
is doing, the normal route would be:

http://myapp/admins/signup

so I made a route for this in my routes.php and the route is now:

http://myapp/signup

which works really nice. When I click a link in an email or so the
route just works fine, calls the correct action and so on...

But when using SSL encryption on my production server, the route
becomes this:

https://myapp/signup

This should not be a problem, BUT from this point on, every call to
this route will be redirected to my login page (e.g. pages/home) and
only when clicking a link or calling the route by browser again I can
go to the signup page...

Does anyone have any idea WHY this is happening? Is this a problem
with SSL or do I have to add sth to my htaccess files or so?

I tested this very often, only when using https every link will be
redirected to the login-page before I call it another time. The second
time I call a route or click a link I get to the correct page, but at
first time, I always get redirected...

:(

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: