Hello,
First I've compiled and installed mod_tpp.so normally, using apache1.3. I a=
m
using Debian sarge.
To configure apache1.3, i have added
application/x-httpd-tpp tpp
to /etc/apache/mime.types. and
LoadModule tpp_module /usr/local/lib/mod_tpp.so
to /etc/apache/modules.conf
I've tested it and t++examples had run successfully.
Then i installed apache2 package and set it to run at 8080 port. To
configure, I did:
/etc/apache2/mods-available# cat tpp.load
LoadModule tpp_module /usr/local/lib/mod_tpp.so
/etc/apache2/mods-available# cat tpp.conf
AddType application/x-httpd-tpp .tpp
and
/etc/apache2/mods-available# a2enmod tpp
Module tpp installed; run /etc/init.d/apache2 force-reload to enable.
But when I try to reload the server, get an error:
/etc/apache2/mods-available# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2Syntax error on line 1 of
/etc/apache2/mods-enabled/tpp.load:
Cannot load /usr/local/lib/mod_tpp.so into server:
/usr/local/lib/mod_tpp.so: undefined symbol: ap_send_http_header
http://httpd.apache.org/docs/2.0/upgrading.html says me "Extensive changes
were made to the server API in Apache 2.0. Existing modules designed for th=
e
Apache 1.3 API will *not* work in Apache 2.0 without modification. Details
are provided in the developer
documentation<http://httpd.apache.org/docs/2.0/developer/>
."
At http://httpd.apache.org/docs/2.0/developer/modules.html there are some
instructions to upgrade the module code. I am trying to do it now, without
changing engine or multiprocessor's code.
Regards,
--
Mauricio B. C. Vieira
http://www.ppgsc.ufrn.br/~vieira
|