This has been resolved. (Big thanks to
- G33K -)
Fix: If you have the Javascript Bot Detection plugin activated, it will conflict with GZip compression and leave your register.php un-readable.
--------------------------------------------------------
When I enable GZip compression through the ACP, the registration page of my forum has a content encoding message displayed to all clients. I have read around and this is the issue that occurs when your server doesn't support GZip.
However, I have full control over this server, It's running CentOS 5 and I just need a simple guide on how to add GZip support to my webserver.
Thanks
Are you using a custom repository for that?
# yum install gunzip
Loaded plugins: fastestmirror
Repository c5-testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: centos.mirror.nac.net
* centosplus: mirrors.lga7.us.voxel.net
* extras: mirror.atlanticmetro.net
* updates: mirror.batblue.com
Reducing CentOS-5 Testing to included packages only
Finished
Excluding Packages from CentOS-5 - Plus
Finished
Reducing CentOS-5 - Plus to included packages only
Finished
Setting up Install Process
No package gunzip available.
Nothing to do
No, but if your mirrors don't contain a package for it, then you'll have to find a custom repo.
For the gzip functions you actually need php's zlib function so thats what you need to check and install if you don't already have it. Check the phpinfo to see if you have a zlib section and it is enabled, if not then you'll need to get the php-zlib package.
EDIT: gunzip is for local files, not the http streams generated by php/apache.
(2011-10-06, 07:29 AM)- G33K - Wrote: [ -> ]For the gzip functions you actually need php's zlib function so thats what you need to check and install if you don't already have it. Check the phpinfo to see if you have a zlib section and it is enabled, if not then you'll need to get the php-zlib package.
EDIT: gunzip is for local files, not the http streams generated by php/apache.
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
So your problem is probably something else. Whats the exact error message your users are getting? Can you get a screenshot if that? Or better still your url where this is happening?
(2011-10-06, 07:29 AM)- G33K - Wrote: [ -> ]gunzip is for local files, not the http streams generated by php/apache.
So it is. I should've double checked. Too early in the morning to think.