Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2006
    Location
    Cheshire, UK
    Posts
    196

    Exclamation Apache Bug - is this normal or a bug?

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by DReade83 View Post
    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.
    Doing a quick Google Search, I found this which may explain this intended behavior of Apache:

    http://mail-archives.apache.org/mod_...ics.uci.edu%3E

  3. #3
    Member
    Join Date
    Oct 2006
    Location
    Cheshire, UK
    Posts
    196

    Default

    Good find. Thanks David.

Similar Threads & Tags
Similar threads

  1. Risk? - Bug? - Normal?
    By OCX in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2006, 04:52 AM
  2. Processes zombie - That is normal or one bug.
    By WhiteBear in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-27-2004, 07:19 AM
  3. Replies: 2
    Last Post: 06-20-2003, 04:29 PM
  4. Replies: 2
    Last Post: 06-20-2003, 04:29 PM
  5. Bug in all apache ve
    By zex in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-20-2002, 02:44 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube