编辑页面404(html)

时间:2015-02-20 10:12:11

标签: php html webserver http-status-code-404

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

ErrorDocument 404 /errore.html

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

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

1 个答案:

答案 0 :(得分:0)

确保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