Web Hosting Talk







View Full Version : Anyone installed mod_gzip on RedHat7.3/CPanel?


arn
08-05-2002, 08:11 PM
Hi,

Just got a server with

Celeron 1.2
CPanel/Red Hat 7.3
Apache/1.3.26 (Unix) mod_log_bytes/0.3 mod_bwlimited/1.0 PHP/4.2.2 FrontPage/5.0.2.2510 mod_ssl/2.8.9 OpenSSL/0.9.6b

I tried to install mod_gzip... by downloading the .so file and placing it in libexec and adding AddModule/LoadModule. Didn't work.

So, then I tried the apxs compile. generated the file, made sure everything was in the right place.... didn't work.

What are my options now? anyone get this working on this sort of config?

thanks
arn

Shyne
08-05-2002, 08:35 PM
You added all the proper configurations in httpd.conf ?

arn
08-05-2002, 11:48 PM
yep... each time...

didn't work, and I think it actually crashed apache too. :)

arn

Shyne
08-05-2002, 11:56 PM
Check the error logs.

arn
08-06-2002, 03:39 AM
Segmentation Faults...

I'm pretty sure it's not a simple config problem (ie not adding AddModule etc...). I thought maybe there was some trick (or specicial version) to installing it, which is why I ask.


arn

stbauer
08-06-2002, 10:48 AM
Segfaults are usually caused by incompatible versions. I believe 1.3.19 and 1.3.26 are not compatible, so binary modules should be recompiled. Download the source version of mod_gzip (mod_gzip.c) and compile it. With apxs, it should be a breeze:

/path/to/apxs -c -o mod_gzip.so mod_gzip.c
/path/to/apxs -i -a -n gzip mod_gzip.so

sitekeeper
08-06-2002, 02:17 PM
You have to use the install for Cpanel get it at cpanel.net. You do not have a RedHat Linux Server, it is a Cpanel/Linux server.

arn
08-07-2002, 10:40 AM
Originally posted by sitekeeper
You have to use the install for Cpanel get it at cpanel.net. You do not have a RedHat Linux Server, it is a Cpanel/Linux server.

There you go.... that's what I needed.

Thanks!

arn

sitekeeper
08-07-2002, 10:47 AM
If you have trouble look at:


http://i4net.tv/marticle/get.php?action=getarticle&articleid=12"
Installing mod_gzip on Linux server

arn
08-07-2002, 11:54 AM
Thanks... I got it working with the version from CPanel.net

I assume it's a diff version?

Regarldess, it compiled and worked... my site is now gzip'd.

thanks for the help,
arn