Installing under IIS 7.5: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "<div>These Instructions assume that you are using Windows 7 Ultimate x64. Procedures for Server 2008 R2 are similar but may vary slightly.</div><div></div><div></div> = Start In...")
 
No edit summary
Line 37: Line 37:




= Add Handler Mappings =
= Add Handler Mappings =


Select the Default Website
== Default Website ==


Under IIS, "Double-Click" Handler Mappings
Ensure that you are at the Default Website


Under Actions, Click Add Script Map
Under IIS, "Double-Click" Handler Mappings
 
Under Actions, Click Add Script Map  
 
=== Create a Script for Perl.exe  ===
 
Request Path
<pre>*.cgi</pre>
Executable
<pre>C:\Perl64\bin\perl.exe "%s%&nbsp;%s%</pre>
Name
<pre>Perl Script Map</pre>
At the prompt select '''No'''
 
<br>
 
=== Create a Script for CGI (.pl)  ===


== Create a Script for Perl.exe ==
Request Path
<pre>.pl</pre>
Executable
<pre>C:\Perl6\bin\perl.exe "%s%"&nbsp;%s </pre>
Name
<pre>CGI Script Map
</pre>
== Bugzilla Applicatin ==


Request Path
Ensure that you are at the Bugzilla Application
<pre>*.cgi</pre>
Executable
<pre>C:\Perl64\bin\perl.exe "%s% %s%</pre>
Name
<pre>Perl Script Map</pre>
At the prompt select '''No'''


Under IIS "Double-Click" Handler Mappings


== Create a Script for CGI (.pl) ==
Under Actions, Click Add Script Map


Request Path
Request Path
<pre>.pl</pre>
<pre>*.cgi
 
</pre>
Executable
Executable
<pre>C:\Perl6\bin\perl.exe "%s%" %s </pre>
<pre>C:\Perl64\bin\perl.exe -xc:\bugzilla -wT "%s" %s
</pre>
Name
Name
<pre>CGI Script Map</pre>
<pre>Bugzilla</pre>

Revision as of 05:24, 27 April 2011

These Instructions assume that you are using Windows 7 Ultimate x64. Procedures for Server 2008 R2 are similar but may vary slightly.

Start Internet Information Services (IIS) Manager

  • Start --> Administrators Tools --> Internet Information Services (IIS) Manger

At "Search Programs and Files" enter inetmgr and press enter


Create a New Application

Expand your Server until the Default Web Site shows its children.

"Right-Click" Default Web Site and select "Add Application" from the Menu.

Unde Alias, enter the alias for the website. This is what users will place into their browsers URL bar appended to the domain

Under Physical Path, enter the path of your application, the defualt intalltion location is:

C:\Bugzilla

alternatiely you can browse to the directory location.


When finished, Click OK.


Configure the Default Document

Click on the Application that you just created.

Under IIS "double-click" on Default Document Click "Add" underneath the Actions Menu

Under Name, enter the file name of Bugzilla's default Document

index.cgi

All other default documents can be removed for this application. If you are running other applications underneath the Default Website,

NOTE:

DO NOT delete the defualt document from Default Website


Add Handler Mappings

Default Website

Ensure that you are at the Default Website

Under IIS, "Double-Click" Handler Mappings

Under Actions, Click Add Script Map

Create a Script for Perl.exe

Request Path

*.cgi

Executable

C:\Perl64\bin\perl.exe "%s% %s%

Name

Perl Script Map

At the prompt select No


Create a Script for CGI (.pl)

Request Path

.pl

Executable

C:\Perl6\bin\perl.exe "%s%" %s 

Name

CGI Script Map

Bugzilla Applicatin

Ensure that you are at the Bugzilla Application

Under IIS "Double-Click" Handler Mappings

Under Actions, Click Add Script Map

Request Path

*.cgi

Executable

C:\Perl64\bin\perl.exe -xc:\bugzilla -wT "%s" %s

Name

Bugzilla