Koozali.org: home of the SME Server

Apache Log Tool

Meert

Apache Log Tool
« on: January 22, 2002, 01:00:39 AM »
Hi, I was wondering if someone could help me with this question:

I'm trying to create a sort of filter that will check my apache logfile to see if certain pages in a directory have been accessed lately. All other files in the directory should be deleted.
I'm letting people create pages on my server and all pages that have not been accessed for a certain time (twice daily), should be deleted from the directory.
I was thinking about grepping the logfile(s) and comparing the outcome with a list from the directory. Everything that is not in the logfile for that directory should be deleted (except for 2 pages that let people create the pages - these 2 will probably not be accessed daily).

Can someone give me a start with this script, as I'm still a newbie with Linux?

Thanks,

Meert

P. Schepers

Re: Apache Log Tool
« Reply #1 on: January 22, 2002, 01:45:44 AM »
try SAGE

P. Schepers

Re: Apache Log Tool
« Reply #2 on: January 22, 2002, 01:49:58 AM »
Sorry, must be SARG

P. Schepers

Re: Apache Log Tool
« Reply #3 on: January 22, 2002, 01:52:27 AM »