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.

SHTML Redirect Not Working on Some Sites w/IE7

Discussion in 'General Discussion' started by netmation, Jun 9, 2009.

  1. netmation

    netmation Member

    Joined:
    Sep 23, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I have multiple web sites, under a single CPanel account on my VPS. In the directory for each web site I have 404.shtml files which basically redirects errors to the home page if an error comes up. On some of my sites this works, on others they do not, in IE7? If I use Firefox it works on all sites?

    Here is an example, works in Firefox, not in IE7
    http://hhhoa.org/djlfadsajf

    Everything looks identical in how they are setup in Cpanel, and the CHMOD of the files are identical. Is there something else that would explain why this works in some directories of HTML code and not in others when using IE Browser?

    I do believe that what is unique about the sites that do not work is that I originally did the ADD DOMAIN in Cpanel prior to them registering with my ns1 and ns2 DNS servers. I then did it again after the registrar was updated and everything seems to work fine except for the .shtml redirect? Could something be left behind from the original failed ADD DOMAIN? Have looked all over and see no differences.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Is the file size of your 404 page greater than 512 bytes? If not, it's possible IE may refuse to display your 404 page and display its own "friendly 404" instead.
     
  3. netmation

    netmation Member

    Joined:
    Sep 23, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    David you are brilliant. Can't tell you how many people looked at this. You are correct, that was the problem.
     
Loading...

Share This Page