[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Mod_gzip & Apache 'ap_regexec()'
- Subject: Re: [cobalt-users] Mod_gzip & Apache 'ap_regexec()'
- From: "Steve Bassi" <steve@xxxxxxxxx>
- Date: Wed Jul 3 21:27:08 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> > So is this true?? What is the method on built-in. I am assuming this
means
> > recompile apache?? Not for this guy, considering how Cobalt has
everything
> > so chained and locked down.
> >
> > I am willing to try other methods.
> >
> > Dave
> >
>
> There is a way to do it on a RAQ3 , I just forgot how to ...
>
> The guy that came up with the fix, (Chris Burton) is not online right now,
> as soon as I see him, I will ask and mail back to the list.
>
> Rgds
>
> Bassi
Ok ... the fix is as follows :
cd /tmp
wget
http://www.remotecommunications.com/apache/mod_gzip/src/1.3.19.1a/mod_gzip.c
RaQ3 ONLY(apache 1.3.6): edit the mod_gzip.c file (supplied by Chris
Burton )
==================================
pico mod_gzip.c
Add the following 3 lines to the end of the file
API_EXPORT(int) ap_regexec(const regex_t *preg, const char *string,
size_t nmatch, regmatch_t pmatch[], int eflags)
{ return regexec(preg, string, nmatch, pmatch, eflags); }
=== end of custom RAQ3 1.3.6 changes ==========
/usr/sbin/apxs -i -a -c mod_gzip.c
Then follow the instructions after this point as shown on:
http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=113
This will enable mod gzip to work on the old RAQ3 1.3.06 apache .
Rgds
Bassi