To recreate the SMEX website:
- Create the website “SMEX Web Site”:
- Input “[SMEX Home Directory]\web” as physical path.
- Select “DefaultAppPool” as Application pool.
- If http is selected, the port is 16372 If https, the port is 16373.
- Click OK.
- Create Application “smex” under “SMEX Web Site”:
- Right-click SMEX Web Site.
- Click Add Application.
- Input “[SMEX Home Directory]\web” as physical path.
- Click OK.
- Configuration application “smex”:
- Select “smex” application in the tree view.
- In the left feature view list, select Handler Mapping.
- Right-click in the pop up menu and select Edit feature permissions.
- Select Read, Script and Execute in the Edit feature permissions dialog.
- Click OK and make sure CGI-exe and ISAPI-dll are enabled on the list.
- Create Virtual Directory “Report”:
- Right-click the “smex” application.
- Click Add Virtual Directory.
- Input “[SMEX Home Directory]\web” as physical path.
- Input “report-[Computer Name]” as alias.
- Click OK.
- Add SMEX Server CGI and ISAPI Restrictions:
- Select the current IIS server in the tree view.
- In the left feature view list, select Server CGI and ISAPI Restrictions
- Right-click in the pop up menu and select Add.
- Input “[SMEX Home Directory]\web\cgiDispatcher.exe” as CGI path.
- Select the checkbox “Allow extension path to execute”.
- Follow the same steps to add “[SMEX Home Directory]\web\cgiCmdNotify.exe” to the restrictions.
- Set default document for SMEX web site:
- Go to [SMEX Home Directory]\web, and create a new file named "web.config".
- Open web.config via Notepad, and add the following contents:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<remove value="default" />
<remove value="iisstart.htm" />
<remove value="index.html" />
<remove value="index.htm" />
<remove value="Default.asp" />
<remove value="Default.htm" />
<remove value="login.htm" />
<add value="login.htm" />
</files>
</defaultDocument>
<handlers accessPolicy="Read, Execute, Script" />
</system.webServer>
</configuration> - Save the file.
- Open IIS manager, select “smex” application under SMEX web site in the tree view.
- In the left feature view list, double click Default Document.
- Confirm the default document file is login.htm.
- Open SMEX Web console via Internet Explorer, using the URL: http://127.0.0.1:16372/smex/.