Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Need Help for CGI Programming

Aug 31, 2008 11:55AM PDT

I am trying to learn Perl/CGI programming by trying to run the scripts on my laptop.

On the laptop I have the following basically for the purpose:

1. Win XP Home Edition
2. IIS 5.0
3. ActivePerl-5.8.8.817-MSWin32-x86-257965.msi

My problem is that, when scripts are saved with .pl extension, they run okay; but saved with .cgi, the output is the raw script.

Can anyone help me to resolve this.

Thanks

Here4hlp

Discussion is locked

- Collapse -
Did you configure the cgi extension....
Sep 1, 2008 10:44AM PDT

to go through the same code as a pl extension? In IIS under the "Home Directory" tab there should be a configuration button that should show what is used for .pl and that is what you'll need to do for the cgi extension.

JB

- Collapse -
I did ( Re: Need Help for CGI)
Sep 1, 2008 2:42PM PDT

Thanks JB, I did that.

Here4hlp