Rev 1293 | Blame | Last modification | View Log | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><TITLE>IIS configuration</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINKREL="HOME"TITLE="The Codestriker Guide"HREF="book1.html"><LINKREL="UP"TITLE="Installation"HREF="c49.html"><LINKREL="PREVIOUS"TITLE="Apache webserver configuration"HREF="x248.html"><LINKREL="NEXT"TITLE="Upgrading Codestriker"HREF="x326.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">The Codestriker Guide: Version 1.9.3</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="x248.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 2. Installation</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="x326.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="IIS-CONFIGURATION">2.5. IIS configuration</A></H1><P> This section deals with deploying Codestriker under IIS, asa CGI script. <SPANCLASS="emphasis"><ICLASS="EMPHASIS">At the time of writing, the current version of ActivePerl (5.8.8.817)contains a version of CGI.pm which is broken for IIS deployments.Use <AHREF="http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.7.813-MSWin32-x86-148120.msi"TARGET="_top">http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.7.813-MSWin32-x86-148120.msi</A> instead.</I></SPAN>These instructions were performed on aWindows 2000 machine, so hopefully this provides an indicationas to what needs to be performed for other Win32configurations. Startup the IIS configuration application bygoing to "Control Panel" -> "Administrative Tools" ->"Internet Services Manager". Like the Apache configuration,the webserver needs to be told where to find the CodestrikerCGI script, and where to find the associated CSS and html helpfiles.</P><P> Assuming you are deploying Codestriker under the "Default Website", right-click this entry on the left hand frame of thewindow, and select "New" -> "Virtual Directory" -> "Next".Enter in <TTCLASS="FILENAME">codestriker</TT> into the Aliastextfield, then click "Next". Then enter the<TTCLASS="FILENAME">cgi-bin</TT> directory of your unpackedCodestriker distribution into the "Directory" textfield, thenclick "Next". Make sure the "Execute" access permissioncheckbox is selected, then click "Next", click then "Finished".</P><P> It is important that the <TTCLASS="FILENAME">codestriker</TT>virtual directory is setup to be able to execute Perl scripts.Right-click the <TTCLASS="FILENAME">codestriker</TT> virtualdirectory and select "Properties". Click on the"Configuration..." button. Check that there is an entry for<TTCLASS="FILENAME">.pl</TT> files, and that the "Executable Path"entry looks like (substitute the path to your localPerl installation):<PRECLASS="PROGRAMLISTING">C:\Perl\bin\perl.exe "%s" %s</PRE>If thereis no mapping for <TTCLASS="FILENAME">.pl</TT> files (which wouldbe odd, since the ActiveState install does this for youautomatically), add a new entry in with the above setting,limited to "GET,HEAD,POST". Make sure you enter the quotes,as shown above.</P><P> Follow a similar process for the<TTCLASS="FILENAME">codestrikerhtml</TT> directory. Right-click"Default Web site" and select "New" -> "Virtual Directory" ->"Next". Enter in <TTCLASS="FILENAME">codestrikerhtml</TT> into theAlias textfield, then click "Next". Then enter the<TTCLASS="FILENAME">html</TT> directory of your unpackedCodestriker distribution into the "Directory" textfield, thenclick "Next". Make sure the "Read" and "Browse" access permissioncheckboxes are selected, then "Next", then "Finished".</P><P> Ensure the security for the two virtual directories<TTCLASS="FILENAME">codestriker</TT> and<TTCLASS="FILENAME">codestrikerhtml</TT> are appropriate for yoursite. Right-click on each directory, and select "Properties",then the "Directory Security" tab. Click the "Edit..." buttonand make the appropriate changes for your deployment.</P><P> Right-click "Default Web site" and select "Start" if thewebsite is not currently running, and test it.</P><P> Further information on setting up IIS with Perl CGI can befound from <AHREF="http://support.microsoft.com/kb/q245225"TARGET="_top">http://support.microsoft.com/kb/q245225</A>.</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="x248.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book1.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="x326.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Apache webserver configuration</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="c49.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Upgrading Codestriker</TD></TR></TABLE></DIV></BODY></HTML>