\n
LINUX\u8bbe\u7f6e404\u7684\u65b9\u6cd5\uff1a
\n<\/strong>\u7b2c\u4e00\u6b65:\u5728.htaccess\u6587\u4ef6\u4e2d\u52a0\u5165\u5982\u4e0b\u8bed\u53e5:
\nErrorDocument 404 \/404.shtml
\n\u5982\u679c\u9700\u8981\u4fee\u6539\u7684\u7f51\u7ad9\u76ee\u5f55\u4e0b\u6ca1\u6709.htaccess\u6587\u4ef6\u81ea\u5df1\u5efa\u7acb\u4e00\u4e2a\u5373\u53ef.
\n\u7b2c\u4e8c\u6b65,\u81ea\u5df1\u5efa\u7acb\u4e00\u4e2a404.shtml\u6587\u4ef6,\u653e\u5230\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u5c31\u53ef\u4ee5\u4e86
\n\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u540e\u7f00,\u53ea\u8981.htaccess\u4e2d\u6307\u5b9a\u540c\u6837\u7684\u6587\u4ef6\u5c31\u53ef\u4ee5,\u4f8b\u5982404.php
\n
\n\u9700\u8981\u6ce8\u610f\u7684\u51e0\u70b9\uff1a
\n1\u3001\u641c\u7d22\u5f15\u64ce\u7684\u8718\u86db\u4f1a\u722c\u884c\u5230\u60a8\u7684\u81ea\u5b9a\u4e49\u9519\u8bef\u9875\u9762\uff0c\u56e0\u6b64\u5728\u8fd9\u4e2a\u9875\u9762\u8bbe\u5b9a\u597d\u5173\u952e\u5b57\u548c\u7f51\u7ad9\u5404\u680f\u76ee\u7684\u94fe\u63a5\uff0c\u5bf9\u7f51\u7ad9\u6536\u5f55\u6709\u5f88\u5927\u5e2e\u52a9\u3002
\n2\u3001\u4e0d\u5efa\u8bae\u5728\u81ea\u5b9a\u4e49\u9519\u8bef\u9875\u9762\u8bbe\u7f6e\u8df3\u8f6c\uff0c\u5f88\u591a\u7f51\u7ad9\u5236\u4f5c\u8005\u559c\u6b22\u5728\u81ea\u5b9a\u4e49\u9519\u8bef\u9875\u9762\u52a0\u4e0a\u81ea\u52a8\u8df3\u8f6c\uff0c\u82e5\u8981\u8df3\u8f6c\u5efa\u8bae\u8bbe\u7f6e\u572810\u79d2\u4ee5\u4e0a\uff0c\u56e0\u4e3a\u81ea\u5b9a\u4e49\u8df3\u8f6c\u5f88\u6709\u53ef\u80fd\u88ab\u641c\u7d22\u5f15\u64ce\u5224\u5b9a\u4e3a\u4f5c\u5f0a\uff0c\u5bfc\u81f4\u6743\u503c\u964d\u4f4e\uff01
\n3\u3001\u81ea\u5b9a\u4e49\u9519\u8bef\u9875\u9762\u4e00\u822c\u4e0d\u5efa\u8bae\u7528\u56fe\u7247\uff0c\u82e5\u9700\u8981\u7528\u56fe\u7247\uff0c\u8bf7\u4e0d\u8981\u7528\u592a\u5927\uff0c\u4ee5\u514d\u81ea\u5b9a\u4e49\u9875\u9762\u8bbf\u95ee\u91cf\u592a\u5927\uff0c\u9020\u6210\u8fc7\u591a\u7684\u6d41\u91cf\u6d6a\u8d39\u5728\u8be5\u5904\uff0c\u5f71\u54cd\u7f51\u7ad9\u7684\u7a33\u5b9a\uff0c\u5f97\u4e0d\u507f\u5931\u3002<\/p>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":" \u4eca\u5929\u68c0\u6d4b\u4e86\u4e0b\u81ea\u5df1www.nbqq.net\u641e\u7b11\u56fe\u7247\u7f51\u7ad9404\u9519\u8bef\u9875\u9762\u6709\u6ca1\u6709\u8bbe\u7f6e\u597d\uff0c\u53d1\u73b0\u8fd8\u771f\u6ca1\u6709\u6ce8\u610f\u3002\u5c31\u767e\u5ea6\u4e86\u4e0b\uff0c\u627e\u5230\u4e86\u65b9\u6cd5\u3002\u548c\u5927\u5bb6\u5206\u4eab\u4e0b LINUX\u8bbe\u7f6e404\u7684\u65b9\u6cd5\uff1a \u7b2c\u4e00\u6b65:\u5728.htaccess\u6587\u4ef6\u4e2d\u52a0\u5165\u5982\u4e0b\u8bed\u53e5: ErrorDocument 404 \/404.shtml \u5982\u679c\u9700\u8981\u4fee\u6539\u7684\u7f51\u7ad9\u76ee\u5f55\u4e0b\u6ca1\u6709.htaccess\u6587\u4ef6\u81ea\u5df1\u5efa\u7acb\u4e00\u4e2a\u5373\u53ef. \u7b2c\u4e8c\u6b65,\u81ea\u5df1\u5efa\u7acb\u4e00\u4e2a404.shtml\u6587\u4ef6,\u653e\u5230\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u5c31\u53ef\u4ee5\u4e86 \u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u540e\u7f00,\u53ea\u8981.htaccess\u4e2d\u6307\u5b9a\u540c\u6837\u7684\u6587\u4ef6\u5c31\u53ef\u4ee5,\u4f8b\u5982404.php<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[103],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/659"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=659"}],"version-history":[{"count":2,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/659\/revisions"}],"predecessor-version":[{"id":661,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/659\/revisions\/661"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=659"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}