Forum Moderators: coopster & phranque

Message Too Old, No Replies

Perl script is executing in new window rather than generating HTML

I seen this before but I can't remember the fix

         

lgn1

4:36 am on Dec 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Im running ActiveState Perl 5.8 on a Windows XP Pro box and im using IIS 5.

I have perl scripts that generate html content.

Im using FrontPage 2000. When I call a link on my webpage which calls the perl script to generate a new webpage, instead of executing the script in Frontpage and displaying the new generated page, it opens up a separate DOS window and outputs the html in that DOS
window.

It works find on my other PC, and I remember their is
a trick to fix this, but for some reason, I can't remember it at this moment.

Does anybody have the solution?

Chico_Loco

2:46 pm on Dec 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I haven't used windows in a while, but it souunds like the issue is that your haven't got your local server set up to parse and serve cgi scripts.

jatar_k

4:49 pm on Dec 19, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Any clues from looking at the config on the other PC?

lgn1

4:10 pm on Dec 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For some reason the .pl perl association in IIS did not get set. This should have been setup automatically, but it didn't.

Once I put the c:\perl\bin\perl.exe %s %s entry in the approrpriate place under IIS, everthing works fine.