Welcome, Guest. Please Login or Register.
August 29, 2025, 06:41:14 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Enable compressed output, and mod_gzip? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Enable compressed output, and mod_gzip?  (Read 307 times)
Cutter
Noobie
*
Posts: 14


If it ain't broke, fix it until it is!

ICQ - 51715434
Enable compressed output, and mod_gzip?
« on: April 22, 2002, 01:25:59 AM »
Reply with quote

Please forgive me if this is a silly question, but I have to ask...

How does the "enable compressed output" setting in the forum affect a board running on a server that has zlib, and mod_gzip php file compression?

Is the output compressed twice, and are there any issues/benefits to using both at the same time?

Any info on this would be greatly appreciated.  :)
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Enable compressed output, and mod_gzip?
« Reply #1 on: April 22, 2002, 01:55:54 AM »
Reply with quote

the compressmethod that we use will be checked in Subs.php

// Check if zlib is installed
   if(function_exists("crc32") && function_exists("gzcompress"))
   {
   $encoding = '';
      // if so check what kind of gzipping can be used
      if(strpos(" ".$HTTP_ACCEPT_ENCODING, "x-gzip"))
         $encoding = "x-gzip";
      elseif(strpos(" ".$HTTP_ACCEPT_ENCODING,"gzip"))
         $encoding = "gzip";

btw: there is a security hole with zlib!
Logged

mainComm Dev Team
Cutter
Noobie
*
Posts: 14


If it ain't broke, fix it until it is!

ICQ - 51715434
Re:Enable compressed output, and mod_gzip?
« Reply #2 on: April 22, 2002, 06:47:01 AM »
Reply with quote

Thanks for the heads up mediman.

Just so people don't get too excited when they read the words "security hole", no exploit is currently known to exist for the vulnerability in zlib.......yet...
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Enable compressed output, and mod_gzip? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.035 seconds with 17 queries.