Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Apache log analysis

From: ethanak:interclub:pl at: 19-Jun-2002 8:44

On Jun 18 at 12:10 Jason Cunliffe wrote:
> We need to analyze Apache logs by subdirectory. Preferably using REBOL.
Of course :)
> Q1: Does anyone know how to configure Apache to generate log files per > directory?
It's not possible. TransferLog directive is permitted only in main server configuration and virtual hosts (see http://localhost/manual ;) You can use Rewrite module to perform any action (f.ex. private logs). But be careful! I don't know whether REBOL can use non-buffered I/O on standard input/output! Or - you can specify action for html/text/images/whatever_you_want types (see documentation for mod_action). It will be safer but will consume more resources. One stupid question: why don't you want to analyse PATH part from Apache transfer log file? It would be quite simple and fast! Regards ethanak