Web Browser Reports 330 Error Content Encoding
In rare circumstances you may come across the following error in your web browser when accessing one of the Nagios products:
Content Encoding Error
The Apache web server requires zlib.output_compression to be configured to On in the /etc/php.ini file.
Execute the following command to open the file in vi:
When using the vi editor, to make changes press i on the keyboard first to enter insert mode. Press Esc to exit insert mode.
To locate the line zlib.output_compression = type the following:
This should take you directly to the line. Change the setting to On:
zlib.output_compression = On
When you have finished, save the changes in vi by typing:
and press Enter.
The last step is to restart the Apache service using one of the commands below:
RHEL 6 | CentOS 6 | Oracle Linux 6
service httpd restart
RHEL 7 | CentOS 7 | Oracle Linux 7
systemctl restart httpd.service
service apache2 restart
Debian | Ubuntu 16/18
systemctl restart apache2.service
After the service has restarted the problem should no longer occur.
For any support related questions please visit the Nagios Support Forums at:
|Posted by: tlea - Tue, Mar 7, 2017 at 7:02 PM. This article has been viewed 1627 times.|
|Online URL: https://support.nagios.com/kb/article/web-browser-reports-330-error-content-encoding-567.html|
Powered by PHPKB (Knowledge Base Software)