FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Route/Link to an action works with http, but NOT with httpS (SSL!)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Route/Link to an action works with http, but NOT with httpS (SSL!) [message #169810] Mon, 27 September 2010 13:57 Go to previous message
DigitalDude is currently offline  DigitalDude
Messages: 7
Registered: September 2010
Karma:
Junior Member
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...

:(
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Code to create a cookie in PHP
Next Topic: Deleting cookies
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:54:22 GMT 2024

Total time taken to generate the page: 0.04604 seconds