[Dgwebminmodule-users] 0.3.5 Few little things
Brought to you by:
fuzzbawl
|
From: <beo...@ya...> - 2002-06-17 16:21:44
|
3 Things!
Wasn't sure where to send this.. so it's gone direct
to you ;)
* Just found out where to send it.. mailing list!
1st thing:
You might wanna kill off:
dansguardian/.viewconf.cgi.swp
I think it's a leftover file.. not sure if you'd want
it as part of release.. it's got
b0VIM 6.0
fuzzy
akennedy
~fuzzy/webmin/dansguardian/dansguardian/viewconf.cgi
3210#"!
at the top.
---------------------------------------
2nd thing:
Anyways.. I have a Mandrake 8.2 install with dgwebmin
0.3.5 (although it did it on 0.3.4 too).
My webmin version is 0.92.
I click on 'View DG logfile' .. and get:
HTTP/1.0 500 Perl execution failed Server:
MiniServ/0.01 Date: Mon, 17 Jun 2002 16:06:06 GMT
Content-type: text/html Connection: close
Error - Perl execution failed
No log file exists. Is DansGuardian even running?
No such file or directory
I checked the perl source, but I've only a generic
understanding.
In viewlog.cgi, line 54:
$log_file = "$config{'log_path'}/access.log";
and line 62:
open( LOG_FILE, "<", "$log_file" )
Line 54 doesn't seem to work right for me.
I did a print "$log_file" just after line 54, and it
just said on the page:
/access.log
I manually set $log_file to
/var/log/dansguardian/access.log and tried it again..
and it worked. So for some reason, the
$config{'log_path'} bit seems to fail. I cannot work
out why.
-----------------------------------------------------------------
3rd Thing:
The log file analysis doesn't work properly for CSV
log formats.. it's designed for dg format logs. (Up to
you what you do with that comment.. hehe)
-----------------------------------------------------------------
Hope that helps,
Regards,
Andrew Jackson
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
|