Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1293 dpurdie 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2
<HTML
3
><HEAD
4
><TITLE
5
>IIS configuration</TITLE
6
><META
7
NAME="GENERATOR"
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9
REL="HOME"
10
TITLE="The Codestriker Guide"
11
HREF="book1.html"><LINK
12
REL="UP"
13
TITLE="Installation"
14
HREF="c49.html"><LINK
15
REL="PREVIOUS"
16
TITLE="Apache webserver configuration"
17
HREF="x248.html"><LINK
18
REL="NEXT"
19
TITLE="Upgrading Codestriker"
20
HREF="x326.html"></HEAD
21
><BODY
22
CLASS="SECT1"
23
BGCOLOR="#FFFFFF"
24
TEXT="#000000"
25
LINK="#0000FF"
26
VLINK="#840084"
27
ALINK="#0000FF"
28
><DIV
29
CLASS="NAVHEADER"
30
><TABLE
31
SUMMARY="Header navigation table"
32
WIDTH="100%"
33
BORDER="0"
34
CELLPADDING="0"
35
CELLSPACING="0"
36
><TR
37
><TH
38
COLSPAN="3"
39
ALIGN="center"
40
>The Codestriker Guide: Version 1.9.3</TH
41
></TR
42
><TR
43
><TD
44
WIDTH="10%"
45
ALIGN="left"
46
VALIGN="bottom"
47
><A
48
HREF="x248.html"
49
ACCESSKEY="P"
50
>Prev</A
51
></TD
52
><TD
53
WIDTH="80%"
54
ALIGN="center"
55
VALIGN="bottom"
56
>Chapter 2. Installation</TD
57
><TD
58
WIDTH="10%"
59
ALIGN="right"
60
VALIGN="bottom"
61
><A
62
HREF="x326.html"
63
ACCESSKEY="N"
64
>Next</A
65
></TD
66
></TR
67
></TABLE
68
><HR
69
ALIGN="LEFT"
70
WIDTH="100%"></DIV
71
><DIV
72
CLASS="SECT1"
73
><H1
74
CLASS="SECT1"
75
><A
76
NAME="IIS-CONFIGURATION"
77
>2.5. IIS configuration</A
78
></H1
79
><P
80
>        This section deals with deploying Codestriker under IIS, as
81
        a CGI script.  <SPAN
82
CLASS="emphasis"
83
><I
84
CLASS="EMPHASIS"
85
>At the time of writing, the current version of ActivePerl (5.8.8.817)
86
        contains a version of CGI.pm which is broken for IIS deployments.
87
        Use <A
88
HREF="http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.7.813-MSWin32-x86-148120.msi"
89
TARGET="_top"
90
>http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.7.813-MSWin32-x86-148120.msi</A
91
> instead.</I
92
></SPAN
93
>
94
        These instructions were performed on a
95
        Windows 2000 machine, so hopefully this provides an indication
96
        as to what needs to be performed for other Win32
97
        configurations.  Startup the IIS configuration application by
98
        going to "Control Panel" -&#62; "Administrative Tools" -&#62;
99
        "Internet Services Manager".  Like the Apache configuration,
100
        the webserver needs to be told where to find the Codestriker
101
        CGI script, and where to find the associated CSS and html help
102
        files.
103
      </P
104
><P
105
>        Assuming you are deploying Codestriker under the "Default Web
106
        site", right-click this entry on the left hand frame of the
107
        window, and select "New" -&#62; "Virtual Directory" -&#62; "Next".
108
        Enter in <TT
109
CLASS="FILENAME"
110
>codestriker</TT
111
> into the Alias
112
        textfield, then click "Next".  Then enter the
113
        <TT
114
CLASS="FILENAME"
115
>cgi-bin</TT
116
> directory of your unpacked
117
        Codestriker distribution into the "Directory" textfield, then
118
        click "Next".  Make sure the "Execute" access permission
119
        checkbox is selected, then click "Next", click then "Finished".
120
      </P
121
><P
122
>        It is important that the <TT
123
CLASS="FILENAME"
124
>codestriker</TT
125
>
126
        virtual directory is setup to be able to execute Perl scripts.
127
        Right-click the <TT
128
CLASS="FILENAME"
129
>codestriker</TT
130
> virtual
131
        directory and select "Properties".  Click on the
132
        "Configuration..." button.  Check that there is an entry for
133
        <TT
134
CLASS="FILENAME"
135
>.pl</TT
136
> files, and that the "Executable Path"
137
        entry looks like (substitute the path to your local
138
	Perl installation):
139
	<PRE
140
CLASS="PROGRAMLISTING"
141
>C:\Perl\bin\perl.exe "%s" %s	  
142
	</PRE
143
>
144
        If there
145
	is no mapping for <TT
146
CLASS="FILENAME"
147
>.pl</TT
148
> files (which would
149
	be odd, since the ActiveState install does this for you
150
	automatically), add a new entry in with the above setting,
151
	limited to "GET,HEAD,POST".  Make sure you enter the quotes,
152
	as shown above.
153
      </P
154
><P
155
>        Follow a similar process for the
156
        <TT
157
CLASS="FILENAME"
158
>codestrikerhtml</TT
159
> directory.  Right-click
160
        "Default Web site" and select "New" -&#62; "Virtual Directory" -&#62;
161
        "Next".  Enter in <TT
162
CLASS="FILENAME"
163
>codestrikerhtml</TT
164
> into the
165
        Alias textfield, then click "Next".  Then enter the
166
        <TT
167
CLASS="FILENAME"
168
>html</TT
169
> directory of your unpacked
170
        Codestriker distribution into the "Directory" textfield, then
171
        click "Next".  Make sure the "Read" and "Browse" access permission
172
        checkboxes are selected, then "Next", then "Finished".
173
      </P
174
><P
175
>        Ensure the security for the two virtual directories
176
        <TT
177
CLASS="FILENAME"
178
>codestriker</TT
179
> and
180
        <TT
181
CLASS="FILENAME"
182
>codestrikerhtml</TT
183
> are appropriate for your
184
        site.  Right-click on each directory, and select "Properties",
185
        then the "Directory Security" tab.  Click the "Edit..." button
186
        and make the appropriate changes for your deployment.
187
      </P
188
><P
189
>        Right-click "Default Web site" and select "Start" if the
190
        website is not currently running, and test it.
191
      </P
192
><P
193
>        Further information on setting up IIS with Perl CGI can be
194
        found from <A
195
HREF="http://support.microsoft.com/kb/q245225"
196
TARGET="_top"
197
>http://support.microsoft.com/kb/q245225</A
198
>.
199
      </P
200
></DIV
201
><DIV
202
CLASS="NAVFOOTER"
203
><HR
204
ALIGN="LEFT"
205
WIDTH="100%"><TABLE
206
SUMMARY="Footer navigation table"
207
WIDTH="100%"
208
BORDER="0"
209
CELLPADDING="0"
210
CELLSPACING="0"
211
><TR
212
><TD
213
WIDTH="33%"
214
ALIGN="left"
215
VALIGN="top"
216
><A
217
HREF="x248.html"
218
ACCESSKEY="P"
219
>Prev</A
220
></TD
221
><TD
222
WIDTH="34%"
223
ALIGN="center"
224
VALIGN="top"
225
><A
226
HREF="book1.html"
227
ACCESSKEY="H"
228
>Home</A
229
></TD
230
><TD
231
WIDTH="33%"
232
ALIGN="right"
233
VALIGN="top"
234
><A
235
HREF="x326.html"
236
ACCESSKEY="N"
237
>Next</A
238
></TD
239
></TR
240
><TR
241
><TD
242
WIDTH="33%"
243
ALIGN="left"
244
VALIGN="top"
245
>Apache webserver configuration</TD
246
><TD
247
WIDTH="34%"
248
ALIGN="center"
249
VALIGN="top"
250
><A
251
HREF="c49.html"
252
ACCESSKEY="U"
253
>Up</A
254
></TD
255
><TD
256
WIDTH="33%"
257
ALIGN="right"
258
VALIGN="top"
259
>Upgrading Codestriker</TD
260
></TR
261
></TABLE
262
></DIV
263
></BODY
264
></HTML
265
>