• <bdo id='md0mV'></bdo><ul id='md0mV'></ul>
  • <small id='md0mV'></small><noframes id='md0mV'>

    1. <legend id='md0mV'><style id='md0mV'><dir id='md0mV'><q id='md0mV'></q></dir></style></legend>
      1. <i id='md0mV'><tr id='md0mV'><dt id='md0mV'><q id='md0mV'><span id='md0mV'><b id='md0mV'><form id='md0mV'><ins id='md0mV'></ins><ul id='md0mV'></ul><sub id='md0mV'></sub></form><legend id='md0mV'></legend><bdo id='md0mV'><pre id='md0mV'><center id='md0mV'></center></pre></bdo></b><th id='md0mV'></th></span></q></dt></tr></i><div id='md0mV'><tfoot id='md0mV'></tfoot><dl id='md0mV'><fieldset id='md0mV'></fieldset></dl></div>
      2. <tfoot id='md0mV'></tfoot>

        模拟 403 错误页面

        时间:2023-11-30

            <i id='OGxzZ'><tr id='OGxzZ'><dt id='OGxzZ'><q id='OGxzZ'><span id='OGxzZ'><b id='OGxzZ'><form id='OGxzZ'><ins id='OGxzZ'></ins><ul id='OGxzZ'></ul><sub id='OGxzZ'></sub></form><legend id='OGxzZ'></legend><bdo id='OGxzZ'><pre id='OGxzZ'><center id='OGxzZ'></center></pre></bdo></b><th id='OGxzZ'></th></span></q></dt></tr></i><div id='OGxzZ'><tfoot id='OGxzZ'></tfoot><dl id='OGxzZ'><fieldset id='OGxzZ'></fieldset></dl></div>
            • <tfoot id='OGxzZ'></tfoot>

              <small id='OGxzZ'></small><noframes id='OGxzZ'>

                <tbody id='OGxzZ'></tbody>
              1. <legend id='OGxzZ'><style id='OGxzZ'><dir id='OGxzZ'><q id='OGxzZ'></q></dir></style></legend>
                  <bdo id='OGxzZ'></bdo><ul id='OGxzZ'></ul>

                • 本文介绍了模拟 403 错误页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我知道你可以发送一个标头告诉浏览器这个页面是被禁止的,比如:

                  I know you can send a header that tells the browser this page is forbidden like:

                  header('HTTP/1.0 403 Forbidden');
                  

                  但是我如何才能显示在服务器上针对此类错误创建的自定义错误页面?

                  But how can I also display the custom error page that has been created on the server for this type of error?

                  默认情况下,仅发送标题会显示一个白色页面,但我记得前段时间阅读您可以使用客户错误页面.有人知道吗?

                  By default, just sending the header displays a white page, but I remember a while back reading that you can use the customer error page. Does anybody know?

                  推荐答案

                  包含更改标题后的自定义错误页面.

                  Include the custom error page after changing the header.

                  这篇关于模拟 403 错误页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:我在 PHP 中执行 HTTP Conditional Get answers 是否可以? 下一篇:标头位置相对路径兼容性

                  相关文章

                    <bdo id='nWv9H'></bdo><ul id='nWv9H'></ul>
                • <legend id='nWv9H'><style id='nWv9H'><dir id='nWv9H'><q id='nWv9H'></q></dir></style></legend>
                    <i id='nWv9H'><tr id='nWv9H'><dt id='nWv9H'><q id='nWv9H'><span id='nWv9H'><b id='nWv9H'><form id='nWv9H'><ins id='nWv9H'></ins><ul id='nWv9H'></ul><sub id='nWv9H'></sub></form><legend id='nWv9H'></legend><bdo id='nWv9H'><pre id='nWv9H'><center id='nWv9H'></center></pre></bdo></b><th id='nWv9H'></th></span></q></dt></tr></i><div id='nWv9H'><tfoot id='nWv9H'></tfoot><dl id='nWv9H'><fieldset id='nWv9H'></fieldset></dl></div>

                    1. <small id='nWv9H'></small><noframes id='nWv9H'>

                    2. <tfoot id='nWv9H'></tfoot>