Did you know that PageGate can post updates to a website via CGI commands? The current version of PageGate can use the GET and POST methods of passing CGI variables to a web server, allowing you to pass updates to a website as part of your outbound messaging.
To configure IIS to host GetWeb's CGI executable:
Note: On server 2008 and 2012 the CGI-exe handler might not exist because the CGI role may not be enabled for the server (IIS) - go to "Server Manager" → "Roles" → "Add Role Services" - under "Web Server" → "Application Development" make sure CGI is checked.
- Open the IIS Manager.
- Select the Server object on the left hand side (it's the first thing listed in the tree).
- Go to Handler Mappings.
- Find "CGI-exe" in the list.
- Right click on it and select "Edit Feature Permissions".
- Put a check in Execute and click on OK.
- In the left hand tree, expand Sites and Default Website.
- Right click on Default Website, select "Add Virtual Directory".
- Set the Alias to:
scripts
- Set the Physical Path to:
c:\inetpub\scripts\ — if this directory doesn't exist, please create it.
- In the left hand tree, click on the Server object at the top of the list.
- On the right hand side, double click on "ISAPI and CGI Restrictions".
- Right click in the available space and click on Add.
- Set the "ISAPI or CGI path" to:
c:\inetpub\scripts\webgate.exe
- Set the Description to: GetWeb CGI Executable.
- Put a check in "Allow extension path to execute" and click on OK.
- In the left hand tree, right click on the scripts virtual directory you created in steps 8 through 10 and select "Edit Permissions".
- Click on the Security tab.
- Click on Edit.
- Click on Add.
- Make sure that your networking domain, not the local computer, is selected as the Location.
- In the "Enter the object names to select", enter:
domain users
- Click on Check Names.
- Click on OK.
- Select the Domain Users group and allow them the "Modify" permission.
- Click on OK.