Hi Steve, > > 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... > Execute once the dspam.cgi with Perl on the shell. Something like "perl ./dspam.cgi" and look if you get any errors.
there: mail:/var/www/dspam# perl ./dspam.cgi Expires: now Pragma: no-cache Cache-control: no-cache Content-type: text/html mail:/var/www/dspam# 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