s %b "%{Referer}i ""/> s %b "%{Referer}i "">

Home  >  Article  >  Backend Development  >  哪位知道apache怎样记录来源?解决思路

哪位知道apache怎样记录来源?解决思路

WBOY
WBOYOriginal
2016-06-13 13:42:50982browse

哪位知道apache怎样记录来源?
现在网站被盗链严重,但是不知道是哪个网站。请问怎样可以记录来源?

------解决方案--------------------
修改log日志记录格式
#LogFormat "%h %l %u %t \ "%r\ " %> s %b \ "%{Referer}i\ " \ "%{User-Agent}i\ " " combined
CustomLog logs/access.log combined

{Referer} 表示来源
------解决方案--------------------
信誉30分,兰兰

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn