Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache Bug - is this normal or a bug?

Discussion in 'EasyApache' started by DReade83, Jul 15, 2007.

  1. DReade83

    DReade83 Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Cheshire, UK
    I've set a "ErrorDocument 404" in my htaccess file, which works when I type an incorrect URL.

    However if I type "%2F", which is the encoded way of writing a "/", and hit enter, I get the generic Apache error 404 page which complains an error 404 page doesn't exist, when it does..!

    Found this when I redirected a page using PHP to an encoded link which didn't exist.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Doing a quick Google Search, I found this which may explain this intended behavior of Apache:

    http://mail-archives.apache.org/mod_mbox/httpd-dev/199612.mbox/%3C9612031142.aa27069@paris.ics.uci.edu%3E
     
  3. DReade83

    DReade83 Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Cheshire, UK
    Good find. Thanks David.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice