Hallo and thanks for your help
I ran the following from my index.htm
<!--#exec cmd="/home/homepage/cgi-bin/counter.pl" -->
with the space--> as you suggested
result: nothing was returned to the htm page
Error log said:
[Sun Jun 3 22:28:48 2001] [error] [client 208.46.234.171]
File does not exist: /var/www/html/homepage.com/home/homepage/cgi-bin/counter.pl
[Sun Jun 3 22:28:48 2001] [error] [client 208.46.234.171]
unable to include "/home/homepage/cgi-bin/counter.pl" in parsed file
/var/www/html/homepage.com/index.htm
#############################
then i ran
<!--#exec cgi="/home/homepage/cgi-bin/counter.pl" -->
with the space--> and changed the cmd to cgi
result in my index.htm
[an error occurred while processing this directive]
Error log said:
[Sun Jun 3 22:30:34 2001] [error] [client 208.46.234.171]
invalid CGI ref "/home/homepage/cgi-bin/counter.pl" in
/var/www/html/homepage.com/index.htm
#############################
I think it a server problem as i have many pages that have worked for MONTHS with:
<!---------------------counter------------------>
<center>Votes
<!--#exec cmd="/home/homepage/cgi-bin/counter.pl"-->
</center>
and now when i use the view-source to see the code send to me i get:
<!---------------------counter------------------>
<center>Votes
</center>
A number used to appear here after
<center>Votes
on the now blank line.
I'm convinced its a command call or server error due to changes by my server????
anyone else on this????
thanks
L H
----- Original Message -----
From: Me
To: Luinrandir Hernson
Sent: Sunday, June 03, 2001 1:33 AM
Subject: Re: Counter problem
I think I just spotted why it isn't working.
You are using a line something like:
<!--#exec cmd="/home/homepage/cgi-bin/counter.pl"-->
Right?
You need a space before the --> at the right hand end.
In case that isn't it, here's some more notes.
You are using cmd= rather than cgi=. That might
be an issue.
> I ran it on active perl and it works just fine.
Good. This means you should push your sysadmin
for why he said:
> the program is not even being run because
> of the problem in the code abort the whole thing.
Another idea. Perhaps the script is running fine but
the html is not coming out quite right. Take a look at
the html source. Is the counter html fragment in there?
(Perhaps the ssi command is there; that would mean
the server isn't even processing the ssi command.)