>Good Evening,
>
> can anyone give me some insite to cgi and perl scripts?
> I have complied a perl script "counter.pl" and placed it in my
>/cgi-bin dir along with all the appropriate info in the script.
> However, when I place the following in my index.html:
>
><p align="left"> You are Visitor
><!--cgi="/home/httpd/cgi-bin/counter.pl" --> since bla bla bla
Actually, you don't need cgi-bin per se here. CGI scripts generate the
entire page from start to finish; you just want a little bit of
executable content here, hence SSI (server-side includes).
You need to enable SSI (done through the Options keyword: read the
Apache docs), and also, I don't think this is the correct syntax, but I
don't use SSI so I'm not 100% sure. It may be something like:
Visitor <!#exec /home/httpd/cgi-bin/counter.pl> since bla bla
bal
DL
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.