ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / WEBDEV specific features / WEB server
  • Installing IIS 7
  • Configuring the server for the CGI protocol (AWP)
  • Configuring the server for WEBDEV sites
  • Configuring the server for the sites that use Active WEBDEV Pages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Installing IIS 7
The IIS 7 server is supplied with Windows Vista/7. To configure IIS 7 for WEBDEV, some elements of IIS 7 must be installed.
To install IIS 7:
  1. Open the control panel of Windows ("Start .. Control panel").
  2. Double-click "Programs and features".
  3. Click the "Enable/Disable the Windows features".
  4. In the window that is displayed, click "Internet services (IIS)" and select the following options:
For Windows Vista and 7, the options are presented as follows:
  • For Windows Vista:
    Configuration of IIS for Windows Vista
  • For Windows 7:
    Configuration of IIS for Windows 7
The following options must be checked:
Compatibility with the IIS metabase and with the IIS 6 configurationAllows IIS 7 to be configured by the metabase.
This option is mandatory.
Console for IIS managementAllows to configure IIS 7
This option is optional but it is required if you want to configure IIS 7 manually.
Console for FTP managementAllows to configure the FTP server
FTP serverRequired to perform a remote deployment.
HTTP loggingRequired to use WDStatistics
CGIUsed to display the dynamic WEBDEV pages
Mandatory option.
Static contentUsed to manage the static files (.CSS, images, ...).
Mandatory option.
Default documentUsed to manage the default page of the site
Basic authenticationRequired to perform a remote deployment.
Remark: Caution: If you are using an anti-virus, you may have to disable it in order for the test of a WEBDEV site with IIS 7 to operate.
Configuring the server for the CGI protocol (AWP)
To configure the Web server:
  1. Open the Microsoft Internet service manager ("Start .. Run .. Inetmgr.exe" from the Windows desktop).
  2. Position at the root of the computer in the TreeView on the left and click the "ISAPI and CGI restrictions" button. Click "Add".
  3. Specify the path:
    • of the WD290AWP.EXE file located in the Programs\Engine\WINDOWS\AWP subdirectory. This path must not contain spaces.
    • of the WD290INSTAWP.EXE file located in the Programs\Engine\WINDOWS\AWP subdirectory. This path must not contain spaces.
  4. Check "Allow the path of the extension to be run".
  5. Validate.
  6. In the TreeView on the left, double-click "Web sites" and select "Default Web Site". Select "Add a virtual directory" in the context menu of this option.
  7. In the screen that is displayed:
    • Specify the alias of CGI protocol: wd290awp.
    • Select the directory of the CGI protocol (Programs\Engine\WINDOWS\AWP subdirectory of the WEBDEV installation directory). This path must contain no space character. Click OK.
  8. Select WD290AWP in the treeview.
  9. Double click on "Handler mappings".
  10. Select "Modify the handler permissions".
  11. In the window that is displayed, select "Read", "Script", "Execution".
  12. Validate.
Configuring the server for WEBDEV sites
To configure the Web server:
  1. Open the Microsoft Internet service manager ("Start .. Run .. Inetmgr.exe" from the Windows desktop.
  2. In the TreeView on the left, double-click "Sites" and select "Default Web Site" (or select the default Web site where the dynamic WEBDEV sites must be installed). Select "Add a virtual directory" in the context menu of this option.
  3. In the screen that is displayed:
    • Specify the alias of the directory containing the images of your project: <MyProject>_WEB. For example: MARKET_WEB.
    • Select the directory containing the images of your project: <ProjectName>_WEB. For example: C:\WWproject\MARKET\MARKET_WEB.
  4. Click OK.
  5. Select the name of your alias in the treeview on the left.
  6. Double-click the "Map handler" button.
  7. Select "Modify the function authorizations" in the list of links on the right.
  8. In the window that is displayed, select "Read", "Script" and validate.
  9. Select the Web site again in the treeview on the left ("Default Web Site" if there is a single site).
  10. Double click on "Handler mappings".
  11. Select "Add a script mapping" in the list of links on the right.
  12. In the window that appears:
    • In the "Path of requests" control, specify the name of your project preceded by a slash. For example: "/MARKET_WEB".
    • In the "Executable" control, specify the path of the WD290AWP.EXE file, located in the "Programs\Engine\WINDOWS\AWP" subdirectory. The "..." button allows you to select this file. Example: "C:\WEBDEV\AWP\WD290awp.exe".
      Caution:
      • By default, the file picker filters the libraries only ("*.dll") at the bottom right. Toggle the filter on the executables ("*.exe") to select the file.
      • If the path contains space characters, add quotes at the beginning and at the end.
    • The content of the "Name" control has no importance.
    • Click the "Restriction of requests" button.
      • In the "Mapping" pane, uncheck "Call the manager only if a request is mapped to".
      • In the "Verbs" pane, make sure that the picker is positioned on "All the verbs".
      • In the "Access" pane, make sure that the picker is positioned on "Script".
Configuring the server for the sites that use Active WEBDEV Pages
To configure the server:
  1. Open the Internet Information Services Manager.
  2. In the treeview on the left, double-click "Web sites" and select "Default Web Site" (or select the default Web site where the dynamic WEBDEV sites must be installed).
  3. Double-click on the option "Handler mappings".
  4. Add a script mapping:
    • the path of requests is: *.awp
    • specify the path of the WD290AWP.EXE file, located in the Programs\Engine\WINDOWS\AWP subdirectory. This path must not contain spaces.
    • enter any name.
  5. Validate and answer "No" to the message.
Minimum version required
  • Version 11
Comments
Click [Add] to post a comment

Last update: 09/04/2023

Send a report | Local help