How Apache Changed "403-Forbidden" to "404"

Source: Internet
Author: User
is http403 forbidden to visit, changed to http404 didn't find

Not 403, all 403 of the errors are reported as 404 ....

Thank you

Where to change?


Reply to discussion (solution)

Is that the "403-forbidden" state is changed to "404-not Found" state,


Help

Assigning 404 can do this
ErrorDocument 404/404.php
Similarly, assigning 403 can do the same.
ErrorDocument 403/404.php

Is it a 403?, showing 404 of the??? Surface.
The method is feasible, you can do it yourself? 404 of the noodles, do not need to be tied.
Example: ErrorDocument 403/my404.php

Can only change the display page, the status or 403, this seems to be unable to change, but the average user to see is 404 pages.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.