如何使用Apache日志检查完成文件下载 [英] How to use apache logs to check complete file downloads

查看:296
本文介绍了如何使用Apache日志检查完成文件下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件托管网站,多数民众赞成使用这个脚本 MFHS

I have a file hosting site thats using this script MFHS.

我要发展我自己的积分系统中,如果访问者下载整个文件点将只奖励。

I want to develop a point system of my own in which points will be rewarded only if the visitor downloaded the whole file.

如何跟踪它,在哪里日志与它保存在Apache的?我使用unbuntu服务器。

How can I track it and where are the logs relating to it saved in apache? I am using unbuntu server.

否则有没有更简单的方法?我的服务器上的平均文件大小300MB是最大文件大小为3GB。

Or else is there any easier way? The average file sizes on my server is 300mb max file size is 3gb.

感谢你。

推荐答案

添加%X你登录配置 - 看到的 mod_log_config 为国米preting的值。

Add %X to you log config - see mod_log_config for interpreting the values.

这篇关于如何使用Apache日志检查完成文件下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆