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.

addon domain returns 200 'OK' for non existant pages instead of 404

Discussion in 'General Discussion' started by pramsey, Apr 24, 2009.

  1. pramsey

    pramsey Member

    Joined:
    Mar 19, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
  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
  3. thobarn

    thobarn Well-Known Member

    Joined:
    Apr 25, 2008
    Messages:
    153
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    sanctum sanctorum
    There appears to be a rewrite error

    Code:
    GET http://stacey-nemour.com/asdfljh234589
    301 Moved Permanently -> Location: http://stacey-nemour.com/asdfljh234589/
    
    GET /favicon.ico
    301 Moved Permanently -> Location: http://stacey-nemour.com/favicon.ico/
     
  4. pramsey

    pramsey Member

    Joined:
    Mar 19, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    The re-write that is happening is from the cpanel/easy apache config and not .htaccess as there is no .htaccess. So how do I tell cpanel not to do this?

    -P
     
  5. pramsey

    pramsey Member

    Joined:
    Mar 19, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    dooohp....


    I created an .htaccess and the problem went away...

    -P

    :)
     
Loading...

Share This Page