On Tue, Dec 09, 2003, [EMAIL PROTECTED] wrote: > What means "use apxs as usual to create dso modules" ? > From the manpage for apxs: The module mod_so should be part of the displayed list. If these requirements are fulfilled, you can easily extend your Apache server's functionality by installing your own modules with the DSO mechanism by the help of this apxs tool:
$ apxs -i -a -c mod_foo.c gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c ld -Bshareable -o mod_foo.so mod_foo.o cp mod_foo.so /path/to/apache/libexec/mod_foo.so chmod 755 /path/to/apache/libexec/mod_foo.so [activating module `foo' in /path/to/apache/etc/httpd.conf] There's a lot of help online for apache, apachectl, apxs, and all sorts of configuration. > I didn't find any module for apache in OpenPKG. > Can I build just the modules from the apache package ? > I don't know what you mean by 'module'. Do you mean something like modssl or modphp? Then use those options at the command line. $ rpm --rebuild apache...src.rpm --define 'with_mod_ssl yes' or $ rpm --rebuild apache...src.rpm --define 'with_mod_php yes' > I realy haven't worried about what all makes part of the apache sites I > installed, so now I don't realy know what to choose when building from > source ;-( > You should probably learn which apache features you need before installing apache. It is a big package, and trying to install it with all the options turned on is probably a bad idea. -- [EMAIL PROTECTED] Development Team, Operations Northern Europe Cable & Wireless Telecommunications Services GmbH
pgp00000.pgp
Description: PGP signature