'Double' GZipped content

3 posts / 0 new
Last post
#1 Mon, 12/08/2014 - 05:06
fooby

'Double' GZipped content

Hi All

I'm after some advice as I'm scratching my head trying to figure out this problem.

This isn't a problem with Virtualmin, I believe its an issue with my forum software but i'm not getting very far with them. I do fully suspect this a problem of my own creation with fettling. I'm just looking for (many) different eyes to help me investigate the issue if you can. I.e where to look in virtualmin for the settings.

I've recently moved dedicated host provider and we didn't have this issue on the old box (meaning i either fixed it or I've busted something on the new one:))

I have a dedicated box which I've setup myself, with virtualmin running mybb forum board. For whatever reason when I enable GZIP compression on my new install/migration(of the forum admincp specifically) I am able to see forumdisplay and threads. But i cannot view any posts.

Error:

The webpage at http://306oc.co.uk/forum/showthread.php?tid=27943 might be temporarily down or it may have moved permanently to a new web address.

Error code: ERR_CONTENT_DECODING_FAILED

Effectively from what I can tell, I'm getting my content 'double' GZIPPED and the browser (Chrome, IE, Firefox) all have a fit and cant read the page.

Really quick summary:

  • Old server (running squeeze), no problems, GZIP enabled in ADMINCP forum runs happily and has done for 3+ years

Operating system Debian Linux 6.0.10 Webmin version 1.720
Virtualmin version 4.12.gpl GPL Theme version 8.7 Time on server 08/Dec/2014 10:58 , Up 711 days, 10 hours, 49 minutes Kernel and CPU Linux 2.6.32-5-amd64 on x86_64

  • New server (running Wheezy), fresh install of our forum software (not migrated). Can enable GZIP in ADMINCP, no problem. Works like a dream

Operating system Debian Linux 7 Webmin version 1.720 Virtualmin version 4.12.gpl GPL Theme version 8.7 Time on server 08/Dec/2014 12:09 , Up 2 days, 22 hours, 45 minutes Kernel and CPU Linux 3.2.0-4-amd64 on x86_64

I cant for the life of me figure out what's wrong with the setup. Something must be I know that but i cannot see where i have gone wrong.

It seems as if I have a config option enabled in virutalmin somewhere to provide server level gzipp'd content, so when I enable the gzip functionality in our forum software, it understandably has a fit. I say this because when i have gzip turned off on the forum software a quick scan says we are running gzipped content: http://checkgzipcompression.com/?url=http%3A%2F%2F306oc.co.uk

I'm not going to sit here and say there are "no differences" there are none I can potentially think of, but surely there must be. The only major one is we gone from running under mod_php to FCGId

Can anyone shed some light on where I can continue investigating this issue?

Any helps and tips welcome. Happy to provide any information required

Regards Fooby

Mon, 12/08/2014 - 10:21
andreychek

Howdy,

Hmm, it's possible that Apache is providing all that by default, meaning you may not need to enable compression within your Forums specifically.

Which Apache modules are currently enabled on your server?

You can determine that by running this command:

ls /etc/apache2/mods-enabled

Mon, 12/08/2014 - 14:13
fooby

howdy,

Its possible I guess yes. In which case i'd want to turn that off and use the forums own? or is it just daft and i should leave it as it is?

adam@306oc:~$ ls /etc/apache2/mods-enabled actions.conf authz_host.load dav_svn.conf mime.conf proxy_connect.load ssl.conf actions.load authz_svn.load dav_svn.load mime.load proxy_http.load ssl.load alias.conf authz_user.load deflate.conf negotiation.conf proxy.load status.conf alias.load autoindex.conf deflate.load negotiation.load reqtimeout.conf status.load auth_basic.load autoindex.load dir.conf php5.conf reqtimeout.load suexec.load auth_digest.load cgi.load dir.load php5.load rewrite.load authn_file.load dav_fs.conf env.load proxy_balancer.conf ruby.load authz_default.load dav_fs.load fcgid.conf proxy_balancer.load setenvif.conf authz_groupfile.load dav.load fcgid.load proxy.conf setenvif.load

Topic locked