Web Hosting Talk







View Full Version : <!--#exec ... in IIS


revampnet
07-21-2001, 11:41 AM
I have one question about server side includes in Internet Information server.

I can get the <!--#include ..., but I can't get it to work with <!--#exec ...

I don't know what I'm doing wrong, it just doesn't even recognize it.

Thanks for all your help, I need it to execute the perl script and display the output.

Manish
07-21-2001, 01:16 PM
You might have to go into the IIS Control Window and associate .PL files with the Perl Interpretator. If you have ActiveState installation, check the documentation in ActiveState directory - it tells you when and how to use Perl.EXE and when to use the DLL as an ISAPI module.

Hope that'll help.

revampnet
07-21-2001, 02:01 PM
If I go to the actual .pl file, it works fine, the problem is my server isn't reconizing <!--#exec ... --> stuff.

I know that the exec command can be considered a security risk, so maybe it's turned off somewhere.

my question is, were can I turn it on?

Thanks.