OS FreeBSD 6.1
Необходимо собрать Apache2 не динамическими модулями а статическими: Apache2.2 mod_perl2 libapreq2
Пример:
| Код | tar -xvzf libapreq2-2.08.tar.gz tar -xvzf httpd-2.2.4.tar.bz2 tar -xvzf mod_perl-2.0-current.tar.gz
cd mod_perl-2.0.3
perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX="/home/user/httpd-2.2.4" MP_AP_CONFIGURE="--prefix=/usr/local/apache2 --with-mpm=prefork --enable-ssl --disable-charset-lite --disable-include --disable-env --enable-setenvif --disable-status --disable-autoindex --disable-asis --disable-cgi --disable-negotiation --disable-imap --disable-actions --disable-userdir --disable-alias --disable-so --with-included-apr"
make make test make install
|
Даю запрос
| Код | /usr/local/apache2/bin/httpd -l
|
Отвечает
| Код | # /usr/local/apache2/bin/httpd -l Compiled in modules: core.c mod_perl.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_filter.c mod_log_config.c mod_setenvif.c mod_ssl.c prefork.c http_core.c mod_mime.c mod_dir.c
|
но нет модуля mod_apreq2.c
Далее нашел как добавить модуль при компиляции:
| Код | --with-module=filters:/home/user/libapreq2-2.08/env/mod_apreq.c
|
но файл немогу найти /home/user/libapreq2-2.08/env/mod_apreq.c
перерыл всю /home/user/libapreq2-2.08 и ненашел такого файла
Может ктото уже сталкивался с этой фигней |