{"id":122293,"date":"2018-10-07T08:38:46","date_gmt":"2018-10-07T00:38:46","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=122293"},"modified":"2018-09-30T09:40:06","modified_gmt":"2018-09-30T01:40:06","slug":"shell-apache","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/shell-apache.html","title":{"rendered":"\u5982\u4f55\u5728Apache\u4e2d\u7528shell\u811a\u672c\u63d0\u4ea4\u7f51\u7ad9404\u6b7b\u94fe"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u7f51\u7ad9\u8fd0\u8425\u4eba\u5458\u5bf9\u4e8e\u6b7b\u94fe\u8fd9\u4e2a\u6982\u5ff5\u4e00\u5b9a\u4e0d\u964c\u751f\uff0c\u7f51\u7ad9\u7684\u4e00\u4e9b\u6570\u636e\u5220\u9664\u6216\u9875\u9762\u6539\u7248\u7b49\u90fd\u5bb9\u6613\u5236\u9020\u6b7b\u94fe\uff0c\u5f71\u54cd\u7528\u6237\u4f53\u9a8c\u4e0d\u8bf4\uff0c\u8fc7\u591a\u7684\u6b7b\u94fe\u8fd8\u4f1a\u5f71\u54cd\u5230\u7f51\u7ad9\u7684\u6574\u4f53\u6743\u91cd\u6216\u6392\u540d\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u00a0\u767e\u5ea6\u7ad9\u957f\u5e73\u53f0\u63d0\u4f9b\u7684\u6b7b\u94fe\u63d0\u4ea4\u5de5\u5177,\u53ef\u5c06\u7f51\u7ad9\u5b58\u5728\u7684\u6b7b\u94fe(\u534f\u8bae\u6b7b\u94fe\u3001404\u9875\u9762)\u8fdb\u884c\u63d0\u4ea4,\u53ef\u5feb\u901f\u5220\u9664\u6b7b\u94fe,\u5e2e\u52a9\u7f51\u7ad9SEO\u4f18\u5316\u3002\u5728\u63d0\u4ea4\u6b7b\u94fe\u7684\u6587\u4ef6\u4e2d\u9010\u4e2a\u624b\u52a8\u586b\u5199\u6b7b\u94fe\u7684\u8bdd\u592a\u9ebb\u70e6\uff0c\u5de5\u4f5c\u4e2d\u6211\u4eec\u63d0\u5021\u590d\u6742\u81ea\u52a8\u5316\uff0c\u6240\u4ee5\u672c\u6587\u6211\u4eec\u4e00\u8d77\u4ea4\u6d41\u5206\u4eabApache\u670d\u52a1\u4e2d\u901a\u8fc7shell\u811a\u672c\u6574\u7406\u7f51\u7ad9\u6b7b\u94fe\uff0c\u4fbf\u4e8e\u6211\u4eec\u63d0\u4ea4\u3002<\/p>\n \u00a0<\/p>\n 1.\u914d\u7f6eApache\u8bb0\u5f55\u641c\u7d22\u5f15\u64ce<\/strong><\/div>\n Apache\u662f\u76ee\u524d\u7f51\u7ad9\u5efa\u8bbe\u6700\u4e3a\u4e3b\u6d41\u7684web\u670d\u52a1\uff0c\u4f46\u662fapache\u7684\u65e5\u5fd7\u6587\u4ef6\u9ed8\u8ba4\u662f\u4e0d\u8bb0\u5f55\u767e\u5ea6\u3001\u8c37\u6b4c\u7b49\u5404\u5927\u641c\u7d22\u5f15\u64ce\u7684\u722c\u53d6\u7a0b\u5e8f\u7684\uff0c\u6240\u4ee5\u9996\u5148\u9700\u8981\u6211\u4eec\u8bbe\u7f6eApache\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n \u627e\u5230Apache\u7684\u914d\u7f6e\u6587\u4ef6httpd.conf\uff0c\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u627e\u5230\u4e0b\u9762\u4e24\u884c\uff1a<\/p>\n CustomLog \"logs\/access_log\" common\r\n #CustomLog \"logs\/access_log\" combined<\/pre>\n |