/ is missing from http:// ??

Discussion in 'Apache' started by thindj, Jul 22, 2009.

  1. #1
    hello there,

    you can go here to see what i am really referring to: http://cricfire.com/exit/http://forums.digitalpoint.com/

    As you see http:/forums.digitalpoint.com/ << 1 / is missing and I don't know where I went wrong?:(

    .htaccess:

    RewriteEngine on
    RewriteRule ^exit/(.*) exit.php?url=$1 [L]
    Code (markup):
    exit.php:

    <?php
    
    $url = @$_GET["url"];
    
    ?>
    
    If your browser does not redirect you, please click here: <a href="<? echo $url; ?>" target="_blank" rel="nofollow"><? echo $url; ?></a>
    
    PHP:
    But here it is fine: http://cricfire.com/exit.php?url=http://forums.digitalpoint.com/

    If anyone could help me out here it would be greatly appreciated.

    Thanks!
     
    thindj, Jul 22, 2009 IP
  2. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #2
    olddocks, Jul 22, 2009 IP
  3. thindj

    thindj Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    URL is fine but the link that is provided on the page isn't

    If your browser does not redirect you, please click here: http:/forums.digitalpoint.com/

    ^^ see there one slash is missing from the link

    I don't know where I went wrong could you please help me out here.:(

    Thanks
     
    thindj, Jul 22, 2009 IP
  4. paul_so40

    paul_so40 Peon

    Messages:
    119
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    the link goes to a page that says its redirecting automaticaly, but then dossent
     
    paul_so40, Jul 22, 2009 IP
  5. mrgilb

    mrgilb Active Member

    Messages:
    326
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #5
    Maybe clear your cache and restart browser.
     
    mrgilb, Jul 22, 2009 IP
  6. thindj

    thindj Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I haven't set a automatically redirect yet... and i get the same problem with redirection when i put it... it doesn't redirect because its missing one slash from http://

    And I have tried to clear cache :( no result

    by the way, this works fine: http://cricfire.com/exit.php?url=http://forums.digitalpoint.com/
     
    thindj, Jul 22, 2009 IP