linux .htaccess 设置 404 等错误页面

linux服务器下通过设置htaccess来实现404转向的代码,将以下代码添加到.htaccess即可。

 

ErrorDocument 404 /index.php

ErrorDocument 500 /index.php



相关文章
推荐文章
热门文章

微信公众号推荐

相关推荐