错误页面问题示例404 [英] Error Page question example 404

查看:79
本文介绍了错误页面问题示例404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想问你们一个问题是否有这样的方式我可以在一个错误页面,当它弹出它会检测到错误所以基本上一个.php文件或必须我一个接一个地创建它们像这样401 .php和404.php等?

Hi there i would like to ask you guys a question is there way i can a error page that when it pops up it will detect there error so basically one .php file or must i create them all one by one like this 401.php and 404.php etc?

推荐答案

这个问题取决于您对HTTP服务器的配置,更准确地说,它与您的站点相关的数据。即使您使用共享主机,也可以按照个人方式定义白色文件。通常,这些文件的占位符或目录是托管文件结构的一部分。阅读您的托管服务提供商提供的客户文档,如果找不到,请致电他们的客户服务。



如果您自己托管您的网站,请参阅您的文档。 HTTP服务器。



-SA
This matter depends on configuration of you HTTP server, more exactly, its data related to your site(s). Even if you use shared hosting, you can define white those files in your individual way. Usually, placeholders or directory for these files is a part of your hosting file structure. Read your customer documentation provided by your hosting provider, call their customer service if you cannot find it.

If you host your sites by yourself, refer to the documentation of your HTTP server.

—SA


这篇关于错误页面问题示例404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆