Hi,

>>It is difficult to help with that sparse amount of info. Are you sure 
>>mod_perl is working? Try increasing Apache log level and collect more
>info and then post them here.
>
>Hi,
>
>Yes, mod-perl2 is installed, other sites on the same machine works fine, not 
>sure if they involve perl or not, I'll chack.
>
>mod-perl comes from 
>ii  libapache2-mod-perl2              2.0.4-7  


I have placed this simple cgi in /var/www/dspam/ and it runs just fine:

#!/usr/bin/perl
print "Content-type: text/html\n\n";

open(COUNTER,"counter.txt");
chomp($current = <COUNTER>);
close(COUNTER);
$current++;
print "You are visitor number <b>$current</b>";
open(COUNTER,">counter.txt");
print COUNTER $current;
close(COUNTER);

Yet - accessing localhost/dspam/ still presents a blank page after the 
authentication box, access_log shows:

127.0.0.1 - dudi [30/Aug/2011:10:34:23 +0300] "GET /dspam/dspam.cgi HTTP/1.1" 
200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110323 
Iceweasel/3.5.16 (like Firefox/3.5.16)"

I'm lost...

Regards,

Dudi
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to