Does Perl need the sever side include module? I'd try removing it.
Secondly, look in the ISAPI/CGI restrictions inside inetmgr, click on the computer and review to ensure the CGI module is enabled. Also, make sure it's installed.
Thanks guys! I tried to install an additional mapping for *.pl for SSI but SSI wasn't in the drop-down list, even though it was installed. So last night I uninstalled/reinstalled it and it appeared in the list. Was able to define a mapping for .pl and
SSI.
Now I am getting another error. I guess that's progress. :) It retrieves part of the home page, but then throws the error:
Failed to execute CGI : Win32 Error Code = 1260
Haven't had much luck tracking this down with respect to IIS 7.
Sorry for the delay. Yes, I've been through that document (which by the way is a bit dated--the "Enable 32-bit Applications' setting no longer exists in an Application Pool configuration).
I can get a simple 'hello world' perl app to run. What I'm having problems with is constructs such as:
<!--#exec cgih="/cgi-shl/head.pl"-->
Assuming the #exec is functioning, how do I tell IIS where the path is to /cgi-shl/ ?
bcconner
5 Posts
Porting an ancient Perl site to IIS 7
Apr 29, 2012 06:39 PM|LINK
Hi,
<div class="first last">I'm trying to port an old perl site into IIS 7. I installed ActiveState Perl, verified it works, included mappings for .pl, etc.
This site also uses server side includes (which I've also enabled) such as:
<!--#exec cgih="/cgi-shl/head.pl"-->
The cgi-shl folder is at the same level (not below) the content folder for security purposes. The error I'm getting when I access the site is:
HTTP Error 500.21 - Internal Server Error
Handler "SSINC-shtml" has a bad module "ServerSideIncludeModule" in its module list
Detailed Error Information
Module: IIS Web Core
Notification: ExecuteRequestHandler
Handler: SSINC-shtml
Error Code: 0x8007000d
Requested URL: http://vondasvine.com:80/i
Physical Path: d:\sites\vondasvine.com\ht
Logon: Method Anonymous
Logon: User Anonymous
I have this installation visible only behind a firewall until I get the details resolved.
Server side includes are enabled. Do I need the full path in the cgih= directive, or can I use some type of mapping?
Thanks!
--Ben </div>
perl server side includes
steve schofi...
5681 Posts
MVP
Moderator
Re: Porting an ancient Perl site to IIS 7
Apr 30, 2012 09:09 AM|LINK
Does Perl need the sever side include module? I'd try removing it.
Secondly, look in the ISAPI/CGI restrictions inside inetmgr, click on the computer and review to ensure the CGI module is enabled. Also, make sure it's installed.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget
Mamba Dai - ...
651 Posts
Microsoft
Re: Porting an ancient Perl site to IIS 7
May 02, 2012 11:43 AM|LINK
Hi,
If you haven't checked this greate blog about runing Perl on IIS 7 yet. I suggest strongly you to refer it to help hosting your perl web site on IIS7:
http://blogs.iis.net/wadeh/archive/2009/04/13/running-perl-on-iis-7.aspx
Other some useful thread about hosting perl on iis:
http://forums.iis.net/p/1178679/1984038.aspx#1984038
http://forums.iis.net/p/1179235/1986213.aspx
Feedback to us
Develop and promote your apps in Windows Store
bcconner
5 Posts
Re: Porting an ancient Perl site to IIS 7
May 02, 2012 02:10 PM|LINK
Thanks guys! I tried to install an additional mapping for *.pl for SSI but SSI wasn't in the drop-down list, even though it was installed. So last night I uninstalled/reinstalled it and it appeared in the list. Was able to define a mapping for .pl and SSI.
Now I am getting another error. I guess that's progress. :) It retrieves part of the home page, but then throws the error:
Failed to execute CGI : Win32 Error Code = 1260
Haven't had much luck tracking this down with respect to IIS 7.
--Ben
Mamba Dai - ...
651 Posts
Microsoft
Re: Porting an ancient Perl site to IIS 7
May 03, 2012 06:15 AM|LINK
Hi,
Confirm you have followed this tutorial. If you still can't make your perl site runs well. Please post more error information.
Feedback to us
Develop and promote your apps in Windows Store
bcconner
5 Posts
Re: Porting an ancient Perl site to IIS 7
May 06, 2012 08:14 PM|LINK
Hi,
Sorry for the delay. Yes, I've been through that document (which by the way is a bit dated--the "Enable 32-bit Applications' setting no longer exists in an Application Pool configuration).
I can get a simple 'hello world' perl app to run. What I'm having problems with is constructs such as:
<!--#exec cgih="/cgi-shl/head.pl"-->
Assuming the #exec is functioning, how do I tell IIS where the path is to /cgi-shl/ ?
Thanks!
--Ben