PERL problem....

  • Thread starter Andrew_Rodriguez
  • Start date
A

Andrew_Rodriguez

Hi!

Here is what I'm doing. Trying to get a text counter working... from
http://www.scriptarchive.com/textcounter.html.

I can't get the counter to show up! I know that PERL is working,
because I followed MS's test and created a .pl test page and it
worked. However, when I run it from a .htm file, it doesn't work.

The script is called by: <!--#exec cgi="/cgi_scripts/counter.pl"-->
This is a virtual directory, and I changed to allow scripts to run
from this folder.

Any thoughts or pointers?

Thanks,

Andrew
 
J

j

You need to use server side (SSI) includes. Normally the server is
configured to recognize files of a particular extension, such as .shtml or
..shtm and process the SSI commands. If the file doesn't have the right
extension it basically ignores the code. Try changing the file extension
from .htm to .shtml or maybe .shtm and see if it works. Your web provider
can probably tell you what the extension has to be.
 
A

Andrew_Rodriguez

Thanks for the tip! I'll give it a try. I'm running my own web
server - IIS 5.0. Anything I need to check on that? I'll try
renaming the file. Thanks again.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top