【发布时间】:2015-04-21 23:32:25
【问题描述】:
我无法更改我网站的 404 页面。
我创建了页面errore.html 并创建了文件.htaccess:
ErrorDocument 404 /errore.html
但仍会在网站上显示默认的 404 页面。
文件errore.html 和.htaccess 都在站点的根文件夹中。
【问题讨论】:
-
检查你的虚拟主机是否允许 htaccess
-
如何更改权限。我靠服务器 one.com
-
修改配置文件后还需要重启apache(.htaccess是配置文件)。
-
抱歉无知。我如何升级 apache
标签: php html webserver http-status-code-404