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
Re: Route/Link to an action works with http, but NOT with httpS (SSL!) [message #169812 is a reply to message #169810] Mon, 27 September 2010 14:23 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
DigitalDude wrote:
> 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...
>
> :(

There are inbuilt security issues with HTTPS: I cant remember what they
are, but cross links have issues..an HTTPS servers is considered a 'new'
server and authentication on an HTTP server will not necessarily carry
if you link to a secure server unless you use a cookie or I think POST
data.

It is not clear to me what exact authentication process you have there
anyway, or what this has to do with PHP either.
[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 04:44:08 GMT 2024

Total time taken to generate the page: 0.04335 seconds