Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Joomla 网站,我有很多下载,其链接的形式为
/item/download/60_7372007fc87frju9ebed04j8e65
AWStats 没有跟踪,我怀疑是因为我必须配置它以跟踪何时有此表单的下载链接。关于如何让 AWSStats 进行跟踪的任何想法?
谢谢!
我不确定您如何在 AWStats 中做到这一点,或者是否可以做到。但是您可以通过连接到服务器(在 ssh 中)、更改 /home/[your-user]/logs 文件夹、提取日志然后运行以下命令来跟踪该月度:
grep "file-you-want-to-track" log-file | wc -l
以上应该可以让您了解有多少人访问了该下载链接