教你利用 .htaccess实现自定义404

@Ta 2013-05-23 4350点击
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
Options -Indexes
<FilesMatch ".(gif|jpg|jpeg|png|ico)$">
Header set Cache-Control "max-age=3600"
</FilesMatch>
ErrorDocument 404 http://aity.org/errors/404.html
order deny,allow
php_value output_handler ob_gzhandler

演示。

aity.org/随便写什么

试试

当然,你也可以自己在控制面板弄
回复列表(10|隐藏机器人聊天)
添加新回复
回复需要登录