domain redirecting users to https

Discussion in 'Apache' started by almecho, Aug 5, 2008.

  1. #1
    I've got a problem on a newly configured server running php 5.2.6 in DSO mode with Apache 2.2

    What happens is when you go to the site http://www.websnork.com and use the surf box to browse out to another site, when you click surf the browser is being automatically redirected to the https:// version of the site rather than staying at http://

    It's strange as it's not the script or site doing it as it works fine on another server, and different scripts on this server are all behaving the same way.

    Is there any reason why it would be redirecting users to https:// ?
     
    almecho, Aug 5, 2008 IP
  2. david_t

    david_t Member

    Messages:
    74
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #2
    Actually that doesn't happen for me. For me it stays at http.
     
    david_t, Aug 5, 2008 IP
  3. almecho

    almecho Peon

    Messages:
    459
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah i forgot this morning and i left it switched over to php 4 and it works fine with it enabled. I've got it working at the moment in php 5.2.5 but I've got it stripped back to a bare bones config, so I'm re-enabling things now to see if I can reproduce it again...
     
    almecho, Aug 6, 2008 IP
  4. almecho

    almecho Peon

    Messages:
    459
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    still having problems with this... i rebuilt apache again last night and at first it was fine, but checked it later on and it was redirecting to https again on doing the form post and the 302 redirect from the php script, which it isn't supposed to do. restarted apache and all was fine again...

    i've just checked it again now and it's redirecting to https again, but i did get an email from the server today with one of the standard errors...

    "httpd failed @ Tue Aug 19 21:01:41 2008. A restart was attempted automagically.

    Failure Reason: Timeout while trying to get data from service"

    the same thing happened before the first time it failed, so it's fine until something is happening in apache, and then it falls over... it's obviously not a simple setting but something obscure, and it's not getting any better...

    could really use a hand on this one as very shortly i'll be driving 100,000+ page views a day through this server.
     
    almecho, Aug 20, 2008 IP