Can't get dumb webcounter working

Brian Victor bhv1 at psu.edu
Sun Aug 3 14:30:48 CEST 2003


J. W. McCall wrote:
> As far as the correct HTML code...sorry if this is a dumb question, but 
> what exactly would that HTML code be?  I saw something about "<!-- 
> exec"command here" -->" but that didn't seem to work.  I've never called 
> a script from an HTML document.  I guess that's what I'm trying to 
> figure out.

You're close, but you're missing a few characters:
http://httpd.apache.org/docs-2.0/mod/mod_include.html#element.exec

<!--#exec cgi="yourscript.py"-->

Or similarly the "include virtual" alternative mentioned at the link
above.

-- 
Brian




More information about the Python-list mailing list