How to add your knowledge

Configuration with IIS 7.x

    Table of contents
    No headers
    1. Install the web tier, using Manual Configuration.
    2. Start the IIS Manager applet.
    3. On the Default Web Site, right-click and select Add Virtual Directory. In the dialog box, enter the following:
      • Alias: mapserver2012
      • Physical path: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\www
    4. Select your newly added mapserver2012 node, double-click Handler Mappings, and select Add Module Mapping. Enter the following:
      • Request Path: *.php
      • Module: FastCgiModule
      • Executable: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\Php\php-cgi.exe
      • Name: PHP via FastCGI
      • After clicking OK, click Yes on the Add Module Mapping dialog box.
    5. Right-click Mapagent, and select Convert to Application.

      Use the default values. Then click OK.

    6. Select Mapagent, and double-click Handler Mapping. Select CGI-exe, click Edit Feature Permissions, and select Execute. Then click OK.
    7. Continuing from above, select Add Module Mapping. Enter the following:
      • Request path: mapagent.fcgi
      • Module: IsapiModule
      • Executable: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\www\mapagent\isapi_MapAgent.dll
      • Name: IMMapServer ISAPI agent
      • Click OK. Then click Yes in the subsequent dialog box. This will enable the mapping.
    8. Edit php.ini so that the extension_dir points to C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\Php\ext.
    9. Add PHP to the system path. (C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\Php) Then, you will need to restart Windows.
    10. Select mapserver2012, double-click error pages, and select the 401 line. Then click Remove.
    11. Right-click mapserver2012. Then select Convert to Application.
    12. For using the PHP API, do the following:

      Right-click mapserver2012. Then select Add Virtual Directory. Enter the following:

      • Alias: mapviewerajax
      • Physical path: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\www\mapviewerphp

      Select Mapviewerajax, and double-click Default Document. Then click Add. Enter the following:

      • Name: ajaxviewer.php
    13. For using the .NET API, do the following:

      Right click on mapserver2012. Then select Add Virtual Directory. Enter the following:

      • Alias: mapviewerajax
      • Physical path: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2012\www\mapviewernet

      Select Mapviewerajax, and double-click Default Document. Then click Add. Enter the following:

      • Name: ajaxviewer.aspx

      Right-click Mapviewerajax. Then click Convert to Application.

      Note

      NOTE: Any other applications you create (e.g., Sheboygan sample) will also need to be converted to an application.