well i cant beleive it
know what the first problem was????
spaces after and before the double dashes.
i was using
<!-- #exec cgi="/cgi-bin/counter-.cgi" -->
and the correct command is
<!--#exec cgi="/cgi-bin/count-.cgi"-->
this caused three days of hairpulling madness...
I'm laughing on the outside... but inside ERRRRRRR!
the spaces were suggested to me on this list.....
ANYWAY......
when i get the program up and running
(and this may not yet be the last of this horse hockey)
i will share it with every... since you all help me do it...
thanks again to everyone.... even that one guy/suggestion (ERRRR!)
it made my pour over 5 perl and html books in 48 hours.
but I learned and grew (ERRRRRR!)
:-) Lou
----- Original Message -----
From: iain truskett
To: [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 11:08 PM
Subject: Re: one last attempt?
* Alan F. Larimer, Jr. ([EMAIL PROTECTED]) [06 Jun 2001 02:59]:
> > > this is the command line from my index.htm file
> > > <!-- #exec cmd="/home/thx-1138/counter-.cgi" -->
[...]
> --- Peter Cornelius <[EMAIL PROTECTED]> wrote:
> > Umm. Don't you need an http header? print "content type:
> > text/html\n\n"; before printing anything else out. CGI.pm would
> > allow you to just say 'print header();' btw.
> I thought of that, but it is being executed from an html doc, not a
> perl script. So now, I wonder, where is this being placed w/in the
> html doc? If it's w/in the body, then the header is already there.
[...]
If you're doing #exec, then you don't need the HTTP headers. In most
cases, you don't even want to use #exec.
If you're doing <!--#include virtual="relative/url/parsed/by/apache" -->
then you do need HTTP headers (at least a content-type). You also get
the added advantage that Apache determines whether the caller has
appropriate permissions to run the script and you also get all the
Apache URL parsing and handling happening (hence mod_rewrite and
MultiViews work).
I believe the problem that is happening occurs within the user's (sorry,
I've lost the original email so I don't have your name) interpretation
of the server configuration.
cheers,
--
iain. <http://eh.org/~koschei/>