我已检查过日志文件。 error.log中没有任何内容。在access.log中,为每个请求创建了几行日志,如下所示;
85.xxx.xx.xx - - [14/Sep/2014:01:47:47 +0300] "GET /wordpress/ HTTP/1.1" 200 35298 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"
85.xxx.xx.xx - - [14/Sep/2014:01:48:09 +0300] "GET /wp-content/uploads/2013/09/6.jpg HTTP/1.1" 404 1266 "95.xx.xxx.xx" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"
85.xxx.xx.xx - - [14/Sep/2014:01:50:26 +0300] "GET /wordpress/ HTTP/1.1" 200 35298 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"
85.xxx.xx.xx - - [14/Sep/2014:01:50:48 +0300] "GET /wp-content/uploads/2013/09/6.jpg HTTP/1.1" 404 1266 "95.xx.xxx.xx" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"
85.xxx.xx.xx - - [14/Sep/2014:01:51:09 +0300] "GET /wp-content/uploads/2013/09/6.jpg HTTP/1.1" 404 1266 "95.xx.xxx.xx" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"
我完全关闭防火墙后尝试但没有改变。我该怎么办?
答案 0 :(得分:0)
这不是PHP的问题。这个问题与APACHE有关。确保您的apache能够访问您收到此404错误的所有文件夹和文件。