Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My college kindly provides web space in form of an public_html directory. As I place content there, could I somehow monitor or log how often a given file is downloaded, and from whom? I think .htaccess may be of some help here, but this is just a guess that is why I am asking here: How to log or monitor access to my public_html directory without access to the apache server configuration?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You cannot control logging with .htaccess. A similar question was asked here. The only way I can think of doing it is running a javascript stats program inside a index file, like statcounter. If you have no access to logs there is not much you can do. This is how programs like awstats create there stats.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.