Preview Server on Windows 2019 (IIS or Apache Httpd)

Options
We are standing up a TeamSite 20.2.0.3 (latest at this time) on Windows Server 2019 with IIS 10 as the preview server.  We are noticing an issue where IIS appears to be caching changes when attempting to preview a forms publisher change.  Upon the initial generate and preview, you can see your changes but if you make an edit and try to generate and view your change again, it displays the older version.  We found that if we recycle the application pool, it displays the correct content.  There are settings to adjust the frequency of app pool recycling, but that may put too much of a load on the server every time a user previews.  Has anyone experienced this or do they have a fix or workaround that's better than recycling the app pool more frequently?

Since we were having this issue with IIS, we investigated the use of apache httpd as the preview server on Windows.  We found that apache httpd is not officially supported by OpenText.  There was some old documentation on the support site which led us to configuring apache like so:

Alias /iw-mount/ Y:/
<Directory "Y:/">
  Options All
  AddType text/html .shtml
  AddOutputFilter INCLUDES .htm
  AddOutputFilter INCLUDES .html
  AddOutputFilter INCLUDES .shtml
  Require all granted
</Directory>
EnableSendfile off

This works for previewing the latest changes but we are noticing that when trying to preview any older versions of a file that exist inside the ...EDITIONS..., it fails with a page not found.  I'm thinking possibly there are rewrite rules that would need to be added.  Does anyone have the configuration to fully get apache up and working for preview on Windows?
TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs