Hi,

saya lagi coba install mrtg-rrd http://www.fi.muni.cz/~kas/mrtg-rrd/ , 
kalau pakai cgi "biasa" bisa, saya lg coba pake mod_perl.
Diasumsikan mod_perl udah ada dan dicek di error.log ada ... Apache/1.3.19 
(Unix) mod_perl/1.26 ....

masalahnya nggak bisa dibuka dng mod_perl ( file cgi belum diutak2 )

pesan di error.log :

Prototype mismatch: sub 
Apache::ROOTlocalhost_2elocaldomain_2e::xyz::x_2epl::handler
($) vs none at /var/www/rrd/x.pl line 946 during global destruction.
Subroutine handler redefined at /var/www/rrd/x.pl line 1 during global 
destruction.
Deep recursion on subroutine 
"Apache::ROOTlocalhost_2elocaldomain_2e::xyz::x_2epl
::handler" at /var/www/rrd/x.pl line 927 during global destruction.

di FAQ nya diomongin ... tp /me nggak ngerti yg diomongin :((
....
Q1: It is slow. How can I speed it up?
Q2: I want to use FastCGI/mod_perl/Apache::Registry. I don't want to use CGI.
A: The mrtg-rrd.cgi is written in a mod_perl friendly way. It can be run as 
a FastCGI, mod_perl or Apache::Registry. The script itself tries to 
precompute everything once (i.e. the parsing of mrtg.cfg) and then only 
perform the actual computations. If you want to run it under a different 
environment than CGI, just create the $q object with the path_info() 
method, and then call a handler($q) subroutine (see the bottom of the 
script for an example).
.....

wassalam.


-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke