diff -Naur anonlog-1.0/anonlog.cfg anonlog-1.0-patched/anonlog.cfg --- anonlog-1.0/anonlog.cfg 2001-04-16 14:29:36.000000000 +0200 +++ anonlog-1.0-patched/anonlog.cfg 2002-04-19 15:29:08.000000000 +0200 @@ -6,7 +6,7 @@ # You will want to edit the first three options at least. # The logfile being anonymized. -logfile = logfile.log +logfile = /var/log/httpd/access_log # Where to write the anonymized logfile: just 'newlog = ' for stdout (screen). newlog = @@ -21,7 +21,7 @@ logformat = # A file containing words to use as replacements. 'dictionary = ' if none. -dictionary = dictionary +dictionary = @PREFIX@/etc/anonlog/dictionary # The file for outputting the list of replacements used. # 'translations = ' if it's not to output a list. diff -Naur anonlog-1.0/anonlog.pl anonlog-1.0-patched/anonlog.pl --- anonlog-1.0/anonlog.pl 2001-04-16 15:01:10.000000000 +0200 +++ anonlog-1.0-patched/anonlog.pl 2002-04-19 15:29:27.000000000 +0200 @@ -34,13 +34,15 @@ # # The configuration file to override all these options. # $conffile = ''; for none. -$conffile = 'anonlog.cfg'; +#$conffile = 'anonlog.cfg'; -$logfile = 'logfile.log'; +$conffile = shift || '@PREFIX@/etc/anonlog/anonlog.cfg'; + +$logfile = '/var/log/httpd/access_log'; $newlog = ''; $servernames = ''; $logformat = ''; -$dictionary = 'dictionary'; +$dictionary = '@PREFIX@/etc/anonlog/dictionary'; $translations = ''; $unchfiles = 'index.html'; $matchlength = 0;