To enable HTTP compression for Maximo, follow the steps below:
- Make a backup copy of the file: IBM/HTTPServer/conf/httpd.conf
- Edit the httpd.conf file, enable the following two lines:
LoadModule deflate_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so
- Add the following lines to the bottom of the file:
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
#Highest 9 - Lowest 1
DeflateCompressionLevel 4
- Restart HTTP server