The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't Redirect to desired URL - = mark not accepted?

Discussion in 'General Discussion' started by Thenotsowyzewun, Sep 12, 2006.

  1. Thenotsowyzewun

    Thenotsowyzewun Registered

    Joined:
    Sep 12, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    Hi,

    I'm running CPanel 10.8.2-RELEASE 83 (well, my Host is anyway).

    I'm trying to redirect our website to our eBay ME page whilst it is under construction, and would prefer not to use a HTML page with a 5 second redirect.

    The URL address I need to redirect to is:
    http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=dvdextrasuk

    Unfortunately when I click on Redirects within CPanel and try to configure this, it instead points our website to:
    http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid

    I think this is because it doesn't like the = mark. Is there an equivalent (much like %20 that is used for spaces)? - I haven't been able to find one.
    Otherwise, is there a workaround for this, or do we need a newer version of CPanel?

    Thanks very much for your assistance!
     
  2. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    you can do this with htaccess...the easiest of these would be something like

    RedirectMatch Permanent ^/$ http://www.ebay.com/

    or

    Redirect 301 /index.html http://www.ebay.com/

    You could also use conditions, so that you could only allow your IP address, and redirect all other users...

    Anyway, there are many possibilities, it just depends on how you'd like to do it and what best suits your needs
     
  3. Thenotsowyzewun

    Thenotsowyzewun Registered

    Joined:
    Sep 12, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    Thanks very much, that's exactly what I needed :)
     
  4. moogle

    moogle Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Hey, this looks like fun.
    What would I add to have my IP view the real files?
     
  5. Thenotsowyzewun

    Thenotsowyzewun Registered

    Joined:
    Sep 12, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    Hi,

    Not too sure what your comment means, are you saying this causes a security vulnerability?
     
Loading...

Share This Page