关于apache报authz_core:error和core:error

wm2lk8 发布于 2016/06/18 22:06
阅读 1K+
收藏 0

系统环境是windows 2012 64x+apache2.4.2+php 5.6.21+mysql5.5

error.log日志文件主要报以下错误:

[Sun Jun 12 12:07:23.240102 2016] [ssl:warn] [pid 800:tid 424] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

[Sun Jun 12 12:14:55.155077 2016] [mpm_winnt:notice] [pid 2676:tid 316] AH00354: Child: Starting 64 worker threads.

[Sun Jun 12 12:14:56.170826 2016] [mpm_winnt:notice] [pid 2024:tid 312] AH00364: Child: All worker threads have exited.

[Sat Jun 18 05:55:40.489948 2016] [authz_core:error] [pid 5092:tid 992] [client 80.82.78.38:34196] AH01630: client denied by server configuration: C:/xitong2/Apache24/htdocs/cache

[Sat Jun 18 04:48:21.974301 2016] [core:error] [pid 5092:tid 996] (20024)The given path is misformatted or contained invalid characters: [client 121.42.0.31:34644] AH00127: Cannot map GET /'%22/%3E%3C/script%3E%3Cscript%3Ealert()%3C/script%3E HTTP/1.1 to file, referer: http://101.201.210.137

httpd-vhosts.conf文件配置了2个站点,设置如下:

<VirtualHost *:80>
    ServerAdmin szbjm@szbjm.com
    DocumentRoot "C:\inetpub\wx2"
    ServerName wx.szbjm.com
DirectoryIndex index.html index.php 
    ErrorLog "logs/wx.log"
    CustomLog "logs/wx.log" common
 <Directory "C:\inetpub\wx2">
  Options -Indexes +FollowSymlinks  
  AllowOverride All
  Require all granted
 </Directory>
</VirtualHost>


<VirtualHost *:80>
    ServerAdmin szbjm@szbjm.com
    DocumentRoot "C:\inetpub\wwwroot"
    ServerName www.szbjm.com
DirectoryIndex index.html index.php 
    ErrorLog "logs/www.log"
    CustomLog "logs/www.log" common
 <Directory "C:\inetpub\wwwroot">
  Options -Indexes +FollowSymlinks  
  AllowOverride All
  Require all granted
 </Directory>
</VirtualHost>

有懂得朋友帮忙抽空帮忙看看是什么原因,谢谢!

加载中
返回顶部
顶部