Monday, 14 May 2012

Cognos Content Caching in Apache 2.2

Step 1: 
  •  Open the Apache configuration file 'httpd.conf' with a text editor.
  • Find the line which reads `#LoadModule file_cache_module modules/mod_file_cache.so`
  • Remove the # from the beginning of the line so it reads  
Step 2:
  • In Command Prompt , run the following
 FOR /F "Tokens=* Delims=" %i in ('dir /S "C:\Program Files\ibm\cognos\c10\webcontent\pat\images" /A -D /B') DO @echo MMapFile "%i" >> "C:\Program Files\Apache Software Foundation\Apache2.2\conf\file_cache.lst"

Step 3:
  •  Open the Apache configuration file 'httpd.conf' with a text editor.
  • Add the line
    • include "C:\Program Files\Apache Software Foundation\Apache2.2\conf\file_cache.lst"
  • Save the `httpd.conf` file.
Step 4: Restart Apache  Http Server to enable Caching

No comments:

Post a Comment