- Install the web tier, using Manual Configuration.
- Start the IIS Manager applet.
- On the Default Web Site, right-click and select Add Virtual Directory. In the dialog box, enter the following:
- Alias: mapserver2014
- Physical path: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014
- Select your newly added mapserver2014 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 2014\Php\php-cgi.exe
- Name: PHP via FastCGI
- After clicking OK, click Yes on the Add Module Mapping dialog box.
- Right-click Mapagent, and select Convert to Application.
- Select Mapagent, and double-click Handler Mapping. Select CGI-exe, click Edit Feature Permissions, and select Execute. Then click OK.
- 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 2014\www\mapagent\isapi_MapAgent.dll
- Name: IMMapServer ISAPI agent
- Click OK. Then click Yes in the subsequent dialog box. This will enable the mapping.
- Edit php.ini so that the extension_dir points to C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014\Php\ext.
- Add PHP to the system path. (C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014\Php) Then, you will need to restart Windows.
- Select mapserver2014, double-click error pages, and select the 401 line. Then click Remove.
- Right-click mapserver2014. Then select Convert to Application.
- For using the PHP API, do the following:
Right-click mapserver2014. Then select Add Virtual Directory. Enter the following:
- Alias: mapviewerajax
- Physical path: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014\www\mapviewerphp
Select Mapviewerajax, and double-click Default Document. Then click Add. Enter the following:
- Name: ajaxviewer.php
- For using the .NET API, do the following:
Right click on mapserver2014. Then select Add Virtual Directory. Enter the following:
- Alias: mapviewerajax
- Physical path: C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2014\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.