Microsoft IIS
Support for the Microsoft IIS web server was removed from XperienCentral in version R31.
In This Topic
Activate IIS
XperienCentral uses Microsoft Internet Information Services (IIS) to handle all the requests to the website. After a default install of Windows 2012/2016, IIS might not be available. Follow these steps to check whether IIS has been installed — If it has not been installed, install it.
Press the Windows key and navigate to the Control Panel > Programs > Turn Windows features on or off option.
Navigate to the Roles and then the Web Server (IIS) option in the left tree of the window.
On the right, details appear about the IIS installation. Scroll to the “Role Services” section and check whether the Application Development services have been installed. If not, use the “Add Role Services” option on the right to add these services to the IIS role (for XperienCentral the following services (at least) should installed: “ISAPI Extensions”, “ISAPI Filters” and “Server Side Includes”).
Allow the use of the ISAPI Filter within IIS
By default, IIS blocks the use of ISAPI filters. Follow these steps to enable the ISAPI Redirect filter:
Open the IIS Manager. In the left pane, click on your server name. In the center of the screen a several options appear; double-click the option “ISAPI and CGI Restrictions”.
In the right frame, choose the action [Add…] and enter the following values:
ISAPI or CGI path =
D:\Program Files\Jakarta Isapi Redirector\bin\isapi_redirect.dllDescription =
jakartaSelect the option
Allow extension path to execute
Click [OK].
The ISAPI Redirect filter also needs to be added to the general configuration of IIS. Follow these steps to add the ISAPI filter to all websites:
Click on your server name in the left pane.
Double-click the option ‘ISAPI Filters’ and choose the action “Add…” on the right. Enter the following values:
Filter name =
jakartaExecutable =
D:\Programs\Jakarta Isapi Redirector\bin\isapi_redirect.dll
Close the IIS Manager.
Click [OK].
Open a command prompt and execute the command
iisreset.
Change the Default Settings for all Websites
In the properties overview of the server, three options have to be set that will apply to all other websites. The properties that have to be changed are the “Default Documents”, the “Logging” and the “MIME types”. These options are available when you click on the hostname on the left pane.
Changing the Default Documents
Double-click the option “Default Document”.
Move
index.htmlto the top of the list. Remove the optionsindex.htm,default.htmandiisstart.htm.Click [OK].
Changing the Logging
Click on the server name in the left pane and double-click the option “Logging”.
Choose a “Monthly” logging period and change the “Log file directory” (for example to
D:\Logfiles).Click [Apply] to save the settings.
Changing the extra MIME Types
When a browser requests an object from the website, it is important that IIS returns the proper Content-type header in the response. To make sure that IIS serves all the files with the proper Content-type header, follow these steps:
Click on the server name in the left pane and double-click the option “MIME Types".
Add the .rss MIME type as text/xml.
Edit the
.htmand the.htmlMIME types (add; charset=utf-8to the MIME type).
Configuring the Maximum Request Size (IIS 7)
In IIS version 7, there is a default maximum size of 30 MB that is allowed for uploads. Any request that exceeds 30 MB will return an HTTP 404.13 error. The maximum query size is set to 2048 bytes. This value is too low for the search engine of XperienCentral to function properly. To set the maximum size of a request and query string in IIS version 7 and up, follow these steps:
Click the server name in the left pane.
Select “Configuration Editor”.
Navigate to the section
system.webServer/security/requestFiltering.Open the "requestLimits" subtree.
For
maxAllowedContentLength, set the size to the maximum request you want to allow. The size is measured in bytes, therefore if you want the maximum request to be 100MB, you would enter “100000000”.For maxQueryString, set the size to the maximum request you want to allow. The size is measured in bytes, therefore if you want the maximum request to be 4KB, you would enter “4096”.Save your changes.