我无法更改我网站的404页面。
我创建了页面errore.html
并创建了文件.htaccess
:
ErrorDocument 404 /errore.html
但仍在网站上显示默认的404页面。
文件errore.html
和.htaccess
都在网站的根文件夹中。
答案 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