> The text counter is supposed to run from this line in the web page:
> <!--#exec cgi="cgi-bin/counter.cgi"-->, but doesn't. Anyone have any
> advice?
the problem is that apache doesn't understand SSI. <!--#exec
cgi="cgi-bin/counter.cgi"--> is an SSI command. I've included the needed
files to make SSI work.
first install HTML-SimpleParse, then Apache-SSI by typing
perl Makefile.PL
make
make test
make install
afterwards you've got to change some things in your httpd.conf:
add these lines:
AddType text/html .shtml
AddHandler server-parsed .shtml
or if you don't want to use shtml extensions just add this line
AddHandler server-parsed .html
I see that you already have this line
Options ExecCgi Includes Indexes
So you don't have to add
Options Includes
If you've done all this, your counter should work.
> The form cgi has a slightly different probelm. It seems to be running
> correctly, but does not email the recipient. One line in teh script
> calls for the mail program on the server. Our web server is also set up
> as the email server (which works), but the recipient never gets the
> email. The mail program is sendmail.cf, right? Or am I completely
> off-base with this?
You're right. Sendmail is the used program. But I don't know how to use it.
Sorry
Hope this helps
Attachment:
HTML-SimpleParse-0.08.tar.gz
Description: GNU Zip compressed data
Attachment:
Apache-SSI-2.11.tar.gz
Description: GNU Zip compressed data