繁体   English   中英

编辑页面404(html)

[英]Edit page 404 (html)

我无法更改网站的404页面。 我创建了页面errore.html并创建了文件.htaccess

ErrorDocument 404 /errore.html

但仍会在网站上显示默认的404页面。

文件errore.html.htaccess都位于网站的根文件夹中。

确保您的httpd.conf文件中的设置正确。

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM