Web Server Configuration

Introduction

GENESIS64 allows you to view displays over the intranet or internet in Internet Explorer. In order to take advantage of this capability, you will need to publish your displays. This document will walk you through the necessary steps to set up your machine to publish your displays using HTTP.

 

NOTE: To publish via FTP instead, see the application note entitled, “GraphWorX64 - Publishing Displays Using the FTP Channel”.

Installing WebDAV

The steps to install HTTP Service are slightly different depending on the operating system you are using.

 

Installing WebDAV on Windows Server 2012

  1. Open the Server Manager.

  2. On the left, select Local Server.

  3. Scroll down to Roles and Features, then go to Tasks -> Add Roles and Features.

  4. Click Next to the introductory page, then select “Role-based or feature-based installation” and click Next.

  5. Choose “Select a server from the server pool” and make sure your local machine is selected, then click Next.

  6. If it is not already checked, check “Web Server (IIS)”.

  7. Expand Web Server (IIS) -> Common HTTP Features and check “WebDAV Publishing”, then click Next.

 Figure 1 - WebDav Publishing Role

  1. Click Next again on the Features page.

  2. On the confirmation page, click Install.

Installing WebDAV on Windows Server 2008 or Windows Server 2008 R2

  1. Open the Server Manager.

  2. In the Server Manager MMC that comes up, scroll down to find Roles Summary to check that you have the Web Server (IIS) role listed.

 Figure 2 - Web Server (IIS) Role

  1. If you have this role as shown in Figure 2, skip to step 6, if not, click the Add Roles link to bring up the Add Roles Wizard.

  2. In the Wizard, select Server Roles on the left hand side, and check the Web Server (IIS) and follow through the dialog to complete the IIS installation.

  3. You should now be in the Server Manager MMC again.

  4. Expand Roles in the tree and select Web Server (IIS).

  5. Scroll down to find the Role Services Section and make sure WebDAV Publishing is installed. If not, select Add Role Services, then select WebDAV Publishing and hit Next, then Install.

NOTE: If you are running IIS 7.0 and does not have WebDAV Publishing listed, you can download “Microsoft WebDAV 7.5 for IIS 7.0 (x64)” from the Microsoft website.

 

Figure 3 – Web Server Role Services

 

Installing WebDAV on Windows 10, Windows 8, or Windows 7

  1. Open the Control Panel and select Programs and Features.

  2. In the Programs and Features dialog, select the Turn Windows Feature on or off option on the left hand side.

  3. In the Windows Features dialog, check the Internet Information Services option if it’s not already checked.

  4. Expand Internet Information Services ->  World Web Services -> Common HTTP Features and check WebDAV Publishing if it’s not already checked.

  5. Click OK and follow the installation dialog to finish installing the WebDAV service.

Configuring WebDAV in IIS

  1. Once you have successfully installed WebDAV, open an Internet Information Services (IIS) Manager from Control Panel -> Administrative Tools.

NOTE: If you have two IIS Managers, please use the one with no version as it is usually the latest version that we want to use.

  1. In the tree on the left, click on the directory or virtual directory where you want to allow web publishing (usually “PubDisplay”).

  2. Double-click on WebDAV Authoring Rules in the Features View for the PubDisplay (in the IIS section) and click Enable WebDAV in the actions pane in the left. Then, click Add Authoring Rule…

 Figure 4 – Enable WebDAV

  1. Modify the permissions as you see fit for your server. In order to publish from GraphWorX64 to this directory, you must give the user(s) at least write permission. Click OK when you are finished. The rule should now appear in the list of the WebDAV Authoring Rules.

 Figure 5 – Edit Authoring Rule

  1. Select your directory or virtual directory (usually “PubDisplay”) in the tree again, then double-click on Directory Browsing. In the Actions pane, click on Enable.

  2. In the tree, click on the server name and double click on the Authentication (in the IIS section). If Windows Authentication is disabled, right-click on it and select Enable.

  3. At this point, any Windows user who was included in a WebDAV Authoring Rule can now publish from GraphWorX64 to the server.

NOTE: Anonymous Authentication does NOT work in IIS7 (by design, anonymous access does not allow uploading files). This however, does work in IIS6.

 

NOTE: You may need to restart IIS for these changes to take effect. To do so- run command prompt as administrator and type “iisreset servername” (without quotes) where servername is the name of the server you are configuring http publishing on.

Publishing a Display

  1. You are now ready to publish your display. Open GraphWorX64, then go to File -> Publish.

  2. In the Web Publishing Wizard, click Next.

  3. In the Publishing Options screen, select the settings that you would like to publish. You can also check Use Advanced MultiFormat Options if you would like to publish multiple instances of the displays in different formats.

  4. Select the file you wish to publish, if it is not already selected. If you do not already have a file, you can choose one from the GenDemo directory. Click Next to proceed.

  5. The publishing wizard will collect all of the files that need to be processed.  If there are any files you do not want to publish, uncheck them, and then click Next.

  6. In the “Select a Publishing Location” dialog click the New… button to create a new server to publish our displays.

  7. In the Web Server Configuration dialog, change the protocol to HTTP and enter your host name or IP address for the web server.

  8. In the Virtual Directory text box, we can enter “/PubDisplay”, which should be there by default.

NOTE: You can check the ‘Save this web server with a friendly name’ option if you wish. This allows it to display a friendly name for this connection instead of the connection path.

  1. Your finished Web Service Configuration should look similar to Figure 6.

 Figure 6 - Web Server Configuration

  1. Click OK to return to the Web Publishing Wizard and click Next to continue.

  2. Enter the name and password of a user who has write access to the FTP folder.  (A user who is a local administrator should have access.)  If desired, check the “Remember my Password and User name” box.

  3. Click Publish to start publishing your files. You should get a summary of the files status.  Click the “Open Published Display” button to launch Internet Explorer to view your published page.

 Figure 7 – Publishing Completed

 

NOTE: Please notice that published display will be located in the following folder by default:

C:\Program Files\ICONICS\GENESIS64\WebSites\PubDisplay.

 

Please see the application note entitled, “GENESIS64 - Running in Internet Explorer”, for more information on how to set up your Internet Explorer clients.

 

See Also:

Publishing Wizard

Publishing Display Files to a Web Server

Publishing Displays Using the FTP Channel

Viewing Published Files