wiki:ConfigureGuide24Windows

Version 12 (modified by davidwilhelmsson, 12 years ago) ( diff )

--

Install MapGuide 2.4 on IIS

Prerequisite: Microsoft .Net Framework 4

If Microsoft .NET Framework 4 or 4.5 is not installed, install Microsoft .NET Framework 4 (Web Installer).

Prerequisite: IIS

For Windows 7:

  1. Open Start -> Control Panel -> Programs -> Programs and Features -> Turn Windows features on or off
  2. Install:
    • Internet Information Services, which also selects several default components
    • Internet Information Services -> World Wide Web Services -> Application Development Features -> .NET Extensibility
    • Internet Information Services -> World Wide Web Services -> Application Development Features -> ASP.NET, which also selects ISAPI Extensions and ISAPI Filters
    • Internet Information Services -> World Wide Web Services -> Application Development Features -> CGI

Prerequisite: FastCGI for IIS

For IIS6 and below, install FastCGI for IIS.

For IIS7 and above, enable FastCGI in IIS.

Install MapGuide

For Windows 7/Windows Server 2008 R2 and below, use the installer and select IIS configuration to automatically configure IIS.

For Windows 8/Windows Server 2012, use the installer and select manual configuration. IIS will need to be manually configured.

Manual configuration: IIS

If MapGuide has been installed with a manual configuration, IIS will need to be manually configured.

  1. For Windows 7, open Start -> Control Panel -> System and Security -> Administrative Tools -> Internet Information Services (IIS) Manager
  2. Open [root]\Application Pools -> Actions -> Add Application Pool...
    • Name: MapGuide24AppPool
    • .NET Framework version: .NET Framework v4.0.30319
    • Managed pipeline mode: Integrated
    • Start application pool immediately: True
  3. Open [root] -> FastCGI Settings -> Actions -> Add Application...
    • Full Path: C:\Program Files\OSGeo\MapGuide\Web\Php\php-cgi.exe
    • FastCGI Properties:
      • Max Instances: 0
      • Activity Timeout: 70

  4. Open [root] -> ISAPI and CGI Restrictions -> Actions -> Add...
    • ISAPI or CGI path: C:\Program Files\OSGeo\MapGuide\Web\www\mapagent\isapi_MapAgent.dll
    • Description: MapGuide 2.4 MapAgent ISAPI handle
    • Allow extension path to execute: True
  5. Open [root]\Sites\Default Web Site -> Actions -> View Applications -> Actions -> Add Application...
    • Alias: mapguide
    • Application pool: MapGuide24AppPool
    • Physical path: C:\Program Files\OSGeo\MapGuide\Web\www
  6. Open [root]\Sites\Default Web Site\mapguide -> Handler Mappings -> Actions -> Add Module Mapping...
    • Request path: *.php
    • Module: FastCgiModule
    • Executable (optional): C:\Program Files\OSGeo\MapGuide\Web\Php\php-cgi.exe
    • Name: MapGuide_2.4_PHP_via_FastCGI
    • Do you want to create a FastCGI application for this executable? Click "Yes" to add the entry to the FastCGI collection and to enable this execution to run as a FastCGI application: Yes
  7. Right-click [root]\Sites\Default Web Site\mapguide\mapagent -> Convert to Application
    • Alias: mapagent
    • Application pool: MapGuide24AppPool
    • Physical path: C:\Program Files\OSGeo\MapGuide\Web\www\mapagent
  8. Open [root]\Sites\Default Web Site\mapguide\mapagent -> Handler Mappings -> Actions -> Add Script Map...
    • Request path: mapagent.fcgi
    • Executable: C:\Program Files\OSGeo\MapGuide\Web\www\mapagent\isapi_MapAgent.dll
    • Name: MapGuide 2.4 MapAgent ISAPI handler
    • Open Request Restrictions...
      • Mappings -> Invoke handler only if request is mapped to: False

Previous releases

Attachments (14)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.