[Xitami] Security, Counters, and CGI
WhiteShepherd
xitami@lists.xitami.org
Wed, 10 Apr 2002 13:29:55 -0400
Well I got the OS/2 version of Xitami running and have been looking for a good
counter. My decision came down some tight parameters. I didn't want a "counter
service" that could track and spam my users or web page with their logos. I looked at
Java and Java script. But Java often makes browsers especially running on MS
systems unstable. I didn't want to enable #EXEC as I did not want the security hole.
What I wanted something that was "simple" and self contained cgi (ie a cgi I can modify
and put in without having to install a lot of other stuff). Finally a cgi that would not count
reloads.
To bad I was not able to find a function in Xitami to count web pages. :/ After two
days of searching I came across graph counter. It covered three of the 4 "hoped for"
functions. It was simple (needing only 2 edited lines in the cgi file), was completely self
contained (needed no extra installed graphic handlers), and could be launched by a
IMG link.
I edited and installed the cgi counter script and it counted just fine launching the
script directly from the browser: http://www.furtopia.org/cgi-bin/counter.cgi However
when I place the IMG link ( IMG SCR="http://www.furtopia.org/cgi-bin/counter.cgi?0" )
into the web page I get a broken link. The CGI "IS" running when the web page is
accessed as the count test file does go up. It just displays a broken link for the image.
Any ideas as to what may cause this? I was beginning to wonder if it was a
configuration setting in Xitami I missed or just the script? If you want to look at the cgi I
am trying to use I have placed it here: http://www.furtopia.org/cgi if anyone is curious.
WhiteShepherd (Gene Angel)