06 2009 档案
nginx error_page 404 用 php header 无法跳转
摘要:之前用Apache的时候,只需要设置ErrorDocument 404 /404.php就可以在 404.php 中根据不同的 REQUEST_URI 跳转到不同的页面去,让从搜索引擎过来的失效URL可以跳转到新的地址去升级到 nginx 后的设置error_page 404 /404.php;结果发现确实执行了 404.php ,但自己设置的HTTP header无效,无论header怎么设置,... 阅读全文
posted @ 2009-06-26 13:57 guoadou 阅读(3734) 评论(1) 推荐(0)