[Mod_gzip] Antwort: Need a help on mod_zgip and Stronghold Apache

mod_gzip@lists.over.net mod_gzip@lists.over.net
Mon, 16 Jun 2003 10:19:36 +0200


Hi Suresh,


> But unfortunately though your module compiles with normal apache
> easily, with Stronghold it does not compile. I tried to compile
> the module with the Apache version of Stronghold i.e.
> The Stronghold Version we use is( 2.4.2/ Apache 1.3.6 ) so i
> compiled the module with Apache 1.3.6 and try to load the module
> in Stronghold. On starting the webserver  it gave me the following error
>
> [root@orion bin]# ./start-server
> Starting Webserver...............
> Syntax error on line 1272 of
> /usr/local/baz-in/webserver/conf/httpd.conf:
> Cannot load /baz-in/webserver/modules/mod_gzip.so into server:
> /baz-in/webserver/modules/mod_gzip.so: undefined symbol: ap_regexec
>
> I would really appreciate some ideas on how to overcome this

Apache 1.3.6 is _ancient_ (23-Mar-1999).

In some early Apache version there was a regular expression
handling routine introduced into Apache. I don't know the
exact version but it must have been before 1.3.12, i. e. in
the year 1999 or so (I have mod_gzip running for this version).

mod_gzip relies on this regular expression handling, as it
cannot parse its own directives (filter rules) without it.
And the symbol 'ap_regexec' sounds a lot like this would be
the entry to the Apache internal regular expression API.

So I am afraid the only solution to your problem is upgrading
to some Apache version from the current millennium.

Regards, Michael