+ Reply to Thread
Results 1 to 4 of 4

Thread: Double // in URL

  1. #1
    Member
    Join Date
    Jan 2008
    Posts
    36

    Default Double // in URL

    I have urls like this one:

    http://abc.org/forum/profile.php?mod...er&agreed=true

    redirected to a different page using an .htaccess file.

    I've found log entries where someone is circumventing the redirection and accessing the profile.php page like this:

    http://abc.org//forum//profile.php?m...er&agreed=true

    How can I stop that? I'm assuming I must be able to do it in the .htaccess? Moving/deleting the profile.php file isn't an option.

    Thanks in advance!

  2. #2
    Moderator
    Join Date
    Mar 2007
    Location
    Southern California
    Posts
    150

    Default

    If you had some sort of cookie mechanism to ensure a person visits a particular page first, it would work.
    All the best,
    ManagerJosh
    Gaming Hosting Director of
    SimGames.net, Owned and Operated by Steadfast Networks

  3. #3
    Member
    Join Date
    Jan 2008
    Posts
    36

    Default

    Quote Originally Posted by ManagerJosh View Post
    If you had some sort of cookie mechanism to ensure a person visits a particular page first, it would work.
    Is it controllable any other way? That fix seems a little harder than I had envisioned...

  4. #4
    Junior Member
    Join Date
    Apr 2007
    Posts
    21

    Default

    Perhaps you can post the contents of your .htaccess file here, if your using rewrite-rules it might just not be correct.

    If you aren't then you probably could use them as a solution.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts