[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Running a CGI program from minivend
****** message to minivend-users from "Geoffrey Hennessey" <hennesse@sympatico.ca> ******
I'm trying to do something I thought would be fairly simple, but so far it's
turned out to be a
complete nightmare...my website currently uses a simple web counter based on
a CGI program
which is usually activated using SSI. I like the program and the stats it
generates, so it's a shame
to ditch it. I could put it on an entrance page to the catalog, but that
seems like a shame because
it would really be the only reason for the entrance page.
I've been through the archive on SSI, CGI, running perl scripts and so
on...I grabbed ssi.pm
but I'm not very clear on how to make it work, and it doesn't seem like it
would run a CGI
program anyway. Although I may be wrong about that.
Normally I just include:
<!--#include virtual="/cgi-bin/bbstats/stats.cgi?mypage"-->
Which increments the counter and returns a number I embed on the page.
I understand that I can't use SSI because the minivend pages are returning
through CGI. Is there
some way I could do this using embedded Perl? It seems like it shouldn't be
security risk to run
it, but I'm not entirely clear on what restrictions Safe.pm applies. Are
there details on that
anywhere?
I'm using MiniVend 3.14-4 on a Linux server running Apache. I've only been
experimenting with
Minivend for a couple of weeks, and my Perl is weak, so any help would be
appreciated.
Thanks,
Geoff.
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list