I'm migrating from a WN server to an Apache server. I have several scripts which ran fine on WN, but on Apache, they don't.
In order to attempt to understand what's going wrong, I downloaded the simplest CGI I could find - a text counter (countit.cgi). I was able to set it up and get it to work on its own eg, http://www.blah.com/countit.cgi
, however, if I try to get the text embeded in an HTML file, nothing gets returned. When I look at what the server returned inside the HTML file, I see that it didn't do anything with the exec statement. I also tried the include virtual as listed in the apache.org docs on the subject (i.e., <!--#include virtual="cgi-bin/counter/c
" --> ) and that did the same thing, the text <!--#include...etc.. is included in the HTML returned, and not interpreted by PERL.
What's goin' on here?