【发布时间】:2011-11-12 08:49:46
【问题描述】:
我有 3 个文件:index.php,.htaccess,404.shtml
index.php 包含:
<?php
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
?>
.htaccess 包含:
错误文档 404 /404.shtml
404.shtml 包含:
你好世界
当我访问 index.php 时,我的浏览器告诉我 oops something went wrong. 可能出了什么问题?
【问题讨论】:
标签: php .htaccess http-status-code-404