Difference between revisions of "InstallPortal"

From CaseTalk Wiki
Jump to: navigation, search
(Created page with "= Portal = The entire portal software is controlled with a ISAPI dll, static files and a database configuration. portal\ dist\ msodbcdiag17.dll msodbcsql17.dll...")
 
Line 11: Line 11:
     Portal_Isapi.ini
     Portal_Isapi.ini
     web.config
     web.config
Once the portal software is extracted from the zip file. The folder structure should resembled the above.
# Create a '''Application Pool''' called ''CaseTalkPortal'' which has ''No Managed Code'' and ''Classic pipeline mode''.
# Make sure the ''CaseTalkPortal'' pool has the advanced settings set to ''Enable 32 bit applications''.
# Under the ''Default Website'' add an Application which is hooked to the ''CaseTalkPortal'' Application, and points to the physical folder '''portal\'''.
# For cache optimizations, the ''Output Caching'' can be tweaked to result in the following '''web.config''':
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<location path="dist">
    <system.webServer>
      <staticContent>
        <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="00:00:15" />
      </staticContent>
    </system.webServer>
  </location>
    <system.webServer>
        <caching>
            <profiles>
                <add extension=".dll" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:00:30" varyByQueryString="content,v,name" />
            </profiles>
        </caching>
    </system.webServer>
</configuration>

Revision as of 08:45, 2 April 2021

Portal

The entire portal software is controlled with a ISAPI dll, static files and a database configuration.

 portal\
   dist\
   msodbcdiag17.dll
   msodbcsql17.dll
   msodbcsqlr17.dll
   Portal_Isapi.dll
   Portal_Isapi.ini
   web.config

Once the portal software is extracted from the zip file. The folder structure should resembled the above.

  1. Create a Application Pool called CaseTalkPortal which has No Managed Code and Classic pipeline mode.
  2. Make sure the CaseTalkPortal pool has the advanced settings set to Enable 32 bit applications.
  3. Under the Default Website add an Application which is hooked to the CaseTalkPortal Application, and points to the physical folder portal\.
  4. For cache optimizations, the Output Caching can be tweaked to result in the following web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<location path="dist">
   <system.webServer>
     <staticContent>
       <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="00:00:15" />
     </staticContent>
   </system.webServer>
 </location>
   <system.webServer>
       <caching>
           <profiles>
               <add extension=".dll" policy="CacheForTimePeriod" kernelCachePolicy="CacheForTimePeriod" duration="00:00:30" varyByQueryString="content,v,name" />
           </profiles>
       </caching>
   </system.webServer>
</configuration>