modcfgldap-devel Mailing List for mod_cfg_ldap
Status: Beta
Brought to you by:
abrenk
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
From: <co...@ze...> - 2006-12-29 11:07:11
|
hi, I believe that is not possible I think You should parse / split error.log / access.log using a script Andr=E9 Gustavo a =E9crit : > Hi, > i builded today the mod_cfg_ldap > and im very happy with it... > > but i have to extend it to look at least to more fields from ldap > error log and access log > > i have no experience with apache2 api, but ill try change the sources > to do that things.... > anyone recommends some api documentation? > > Andr=E9 Gustavo > -----------------------------------------------------------------------= - > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > -----------------------------------------------------------------------= - > > _______________________________________________ > modcfgldap-devel mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcfgldap-devel > =20 |
From: <lin...@gm...> - 2006-12-28 23:58:15
|
Hi, i builded today the mod_cfg_ldap and im very happy with it... but i have to extend it to look at least to more fields from ldap error log and access log i have no experience with apache2 api, but ill try change the sources to do that things.... anyone recommends some api documentation? Andr=E9 Gustavo |
From: Haymo M. <ha...@ha...> - 2004-09-29 11:46:53
|
Hello! I could now compile it under Mandrake 10 with the original sources from apache and mof_cfg_ldap. It seemed to work there. Compiling was easy. (Did not try the ldap connection, but no error apeared in the logs) Then i tried copy the .so file to the debian woody. But there are other libs and so the ldap connection could not be established and the module crashed. Please could some of you guys try to compile it on a debian woody machine (if available) and tell me what I can do to compile it or get it some how to work? I took apache2 from backports.org Please help me!! I really need this module!! lg haymo |
From: Haymo M. <ha...@ha...> - 2004-09-28 09:31:25
|
Dear guys! I now tried to do all from scratch (without debian package system... but still on the same machine). I compiled the current apache 2.0.51 (with-ldap and some other needed modules) and installed it on the default location /usr/local/apache2 the I try to compile the current release of mod_cfg_ldap without success. Still the same error. I even tried to compile manually leaving out all unneeded staff. Has any body any Idea?? Your help is needed!! Thank you! in advance! bye haymo -- blackhole:~/mod_cfg_ldap-1.2# grep ap_get_module_config /usr/local/apache2/* -r | grep -v developer Binary file /usr/local/apache2/bin/httpd matches /usr/local/apache2/include/http_config.h:AP_DECLARE(void *) ap_get_module_config(const ap_conf_vector_t *cv, /usr/local/apache2/include/http_config.h:#define ap_get_module_config(v,m) \ /usr/local/apache2/include/mod_ssl.h:(SSLConnRec *)ap_get_module_config(c->conn_config, &ssl_module) /usr/local/apache2/include/mod_ssl.h:#define mySrvConfig(srv) (SSLSrvConfigRec *)ap_get_module_config(srv->module_config, &ssl_module) /usr/local/apache2/include/mod_ssl.h:#define myDirConfig(req) (SSLDirConfigRec *)ap_get_module_config(req->per_dir_config, &ssl_module) /usr/local/apache2/modules/httpd.exp:ap_get_module_config blackhole:~/mod_cfg_ldap-1.2# gcc -I/usr/local/apache2/include mod_cfg_ldap.c mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': mod_cfg_ldap.c:122: parse error before `int' mod_cfg_ldap.c:130: parse error before `int' mod_cfg_ldap.c:132: `rc' undeclared (first use in this function) mod_cfg_ldap.c:132: (Each undeclared identifier is reported only once mod_cfg_ldap.c:132: for each function it appears in.) mod_cfg_ldap.c:134: `version' undeclared (first use in this function) mod_cfg_ldap.c:144: parse error before `int' mod_cfg_ldap.c:147: `SSLmode' undeclared (first use in this function) mod_cfg_ldap.c: In function `cfg_ldap_read_vhost_from_ldap': mod_cfg_ldap.c:244: parse error before `*' mod_cfg_ldap.c:245: `vhost' undeclared (first use in this function) mod_cfg_ldap.c:249: parse error before `char' mod_cfg_ldap.c:250: `filter' undeclared (first use in this function) mod_cfg_ldap.c:255: parse error before `int' mod_cfg_ldap.c:257: `rc' undeclared (first use in this function) mod_cfg_ldap.c:258: `res' undeclared (first use in this function) mod_cfg_ldap.c:272: parse error before `*' mod_cfg_ldap.c:273: `entry' undeclared (first use in this function) mod_cfg_ldap.c:276: parse error before `int' mod_cfg_ldap.c:277: `count' undeclared (first use in this function) mod_cfg_ldap.c:282: warning: unreachable code at beginning of switch statement mod_cfg_ldap.c:293: parse error before `char' mod_cfg_ldap.c:300: `attr' undeclared (first use in this function) mod_cfg_ldap.c:300: `ber' undeclared (first use in this function) mod_cfg_ldap.c:303: `val' undeclared (first use in this function) mod_cfg_ldap.c:306: `vhost_name' undeclared (first use in this function) mod_cfg_ldap.c:310: `vhost_admin' undeclared (first use in this function) mod_cfg_ldap.c:314: `vhost_docroot' undeclared (first use in this function) mod_cfg_ldap.c: In function `set_cfg_ldap_cert_auth': mod_cfg_ldap.c:435: parse error before `const' mod_cfg_ldap.c:436: `err' undeclared (first use in this function) |
From: Haymo M. <ha...@ha...> - 2004-09-25 17:57:40
|
Zen Interactif wrote: >Well ... Could you try with the official source on >http://modcfgldap.sourceforge.net site ? >1.2 is now official version ... > > Thanks for the fast response! And thanks for youre help! same errors occur when I try to compile the original package. As you can see the include path includes apache2, openssl, xmltok and apr-0. I think this should be all needed header files... In fact it seems that the compiler does not know any of the functions from those libs (ap_*, ldap_*)! At the end a list of my installed libs and the header files... I would really like to get it working for woody. The existing .deb package needs libc6 (>= 2.3.2.ds1-4) while on woody exists only libc6 (2.2.5-11.5). And also some ldap functions are higher than available on woody. thanks, bye haymo I tried to compile manually now to get more verbose output: gcc -pipe -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/openssl -O2 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/openssl -O2 -pthread -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include -c mod_cfg_ldap.c -fPIC -DPIC -o .libs/mod_cfg_ldap.lo -v -- Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c -v -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/openssl -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/openssl -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__PIC__ -D__pic__ -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPIC mod_cfg_ldap.c | /usr/lib/gcc-lib/i386-linux/2.95.4/cc1 -quiet -dumpbase mod_cfg_ldap.c -O2 -O2 -version -fPIC -o - | as -V -Qy -o .libs/mod_cfg_ldap.lo - GNU CPP version 2.95.4 20011002 (Debian prerelease)GNU C version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20011002 (Debian prerelease). (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include/xmltok /usr/include/apache2 /usr/include/apr-0 /usr/include/openssl /usr/include/xmltok /usr/include/apache2 /usr/include/openssl /usr/include/apache2 /usr/include/apr-0 /usr/include /usr/local/include /usr/lib/gcc-lib/i386-linux/2.95.4/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include End of omitted list. GNU assembler version 2.12.90.0.1 (i386-linux) using BFD version 2.12.90.0.1 20020307 Debian/GNU Linux mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': mod_cfg_ldap.c:107: parse error before `int' mod_cfg_ldap.c:115: parse error before `int' mod_cfg_ldap.c:117: `rc' undeclared (first use in this function) mod_cfg_ldap.c:117: (Each undeclared identifier is reported only once mod_cfg_ldap.c:117: for each function it appears in.) mod_cfg_ldap.c:117: `version' undeclared (first use in this function) mod_cfg_ldap.c:124: parse error before `int' mod_cfg_ldap.c:125: `SSLmode' undeclared (first use in this function) mod_cfg_ldap.c: In function `cfg_ldap_read_vhost_from_ldap': mod_cfg_ldap.c:211: parse error before `*' mod_cfg_ldap.c:212: `vhost' undeclared (first use in this function) mod_cfg_ldap.c:216: parse error before `char' mod_cfg_ldap.c:217: `filter' undeclared (first use in this function) mod_cfg_ldap.c:219: parse error before `int' mod_cfg_ldap.c:221: `rc' undeclared (first use in this function) mod_cfg_ldap.c:221: `res' undeclared (first use in this function) mod_cfg_ldap.c:228: parse error before `*' mod_cfg_ldap.c:229: `entry' undeclared (first use in this function) mod_cfg_ldap.c:232: parse error before `int' mod_cfg_ldap.c:234: `count' undeclared (first use in this function) mod_cfg_ldap.c:237: warning: unreachable code at beginning of switch statement mod_cfg_ldap.c:249: parse error before `char' mod_cfg_ldap.c:256: `attr' undeclared (first use in this function) mod_cfg_ldap.c:256: `ber' undeclared (first use in this function) mod_cfg_ldap.c:258: `val' undeclared (first use in this function) mod_cfg_ldap.c:260: `vhost_name' undeclared (first use in this function) mod_cfg_ldap.c:261: `vhost_admin' undeclared (first use in this function) mod_cfg_ldap.c:262: `vhost_docroot' undeclared (first use in this function) mod_cfg_ldap.c: In function `set_cfg_ldap_cert_auth': mod_cfg_ldap.c:413: parse error before `const' mod_cfg_ldap.c:414: `err' undeclared (first use in this function) -- blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ldconfig -v ldconfig: Path `/usr/lib' given more than once /usr/X11R6/lib: libxrx.so.6 -> libxrx.so.6.3 libXtst.so.6 -> libXtst.so.6.1 libXt.so.6 -> libXt.so.6.0 libXpm.so.4 -> libXpm.so.4.11 libXp.so.6 -> libXp.so.6.2 libXmuu.so.1 -> libXmuu.so.1.0 libXmu.so.6 -> libXmu.so.6.2 libXi.so.6 -> libXi.so.6.0 libXft.so.1 -> libXft.so.1.1 libXext.so.6 -> libXext.so.6.4 libXIE.so.6 -> libXIE.so.6.0 libX11.so.6 -> libX11.so.6.2 libPEX5.so.6 -> libPEX5.so.6.0 libICE.so.6 -> libICE.so.6.3 libXrender.so.1 -> libXrender.so.1.0 libSM.so.6 -> libSM.so.6.0 /usr/lib: libgpm.so.1 -> libgpm.so.1.19.6 libmagic.so.1 -> libmagic.so.1.0.0 libaprutil-0.so.0 -> libaprutil-0.so.0.9.5 libapr-0.so.0 -> libapr-0.so.0.9.5 libbz2.so.1.0 -> libbz2.so.1.0.2 libdb-4.2.so -> libdb-4.2.so libgd.so.1 -> libgd.so.1.8.4 libexpat.so.1 -> libexpat.so.1.0.0 libjpeg.so.62 -> libjpeg.so.62.0.0 libgd.so.2 -> libgd.so.2.0.1 libfreetype.so.6 -> libfreetype.so.6.3.0 libpython2.1.so.0.0 -> libpython2.1.so.0.0 libstdc++.so.3 -> libstdc++.so.3.0.4 libpng.so.2 -> libpng.so.2.1.0.12 libz.so.1 -> libz.so.1.1.4 libssl.so.0.9.6 -> libssl.so.0.9.6 libcrypto.so.0.9.6 -> libcrypto.so.0.9.6 libisc.so.4 -> libisc.so.4.1.0 libdns.so.5 -> libdns.so.5.3.0 liblwres.so.1 -> liblwres.so.1.1.0 libbfd-2.12.90.0.1.so -> libbfd-2.12.90.0.1.so libopcodes-2.12.90.0.1.so -> libopcodes-2.12.90.0.1.so libpcap.so.0 -> libpcap.so.0.6.2 libsasl.so.7 -> libsasl.so.7.1.10 libpcre.so.3 -> libpcre.so.3.03 liblockfile.so.1 -> liblockfile.so.1.0 libldap_r.so.2 -> libldap_r.so.2.0.201 libldap.so.2 -> libldap.so.2.0.201 liblber.so.2 -> liblber.so.2.0.201 libxmltok.so.1 -> libxmltok.so.1.1 libpcreposix.so.3 -> libpcreposix.so.3.03 libxmlparse.so.1 -> libxmlparse.so.1.1 libident.so.0 -> libident.so.0.22 libapt-pkg-libc6.2-3-2.so.3.2 -> libapt-pkg-libc6.2-3-2.so.3.2.0 libapt-inst-libc6.2-3-2.so.1.0 -> libapt-inst-libc6.2-3-2.so.1.0.0 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so libnewt.so.0.50 -> libnewt.so.0.50.17 libmenu.so.5 -> libmenu.so.5.2 libform.so.5 -> libform.so.5.2 libpanel.so.5 -> libpanel.so.5.2 libgdbm.so.1 -> libgdbm.so.1.7.3 libdb3.so.3 -> libdb3.so.3.0.2 /lib: libgcc_s.so.1 -> libgcc_s.so.1 libnss_db.so.2 -> libnss_db-2.2.so libwrap.so.0 -> libwrap.so.0.7.6 libctutils.so.0 -> libctutils.so.0.0.0 libconsole.so.0 -> libconsole.so.0.0.0 libcfont.so.0 -> libcfont.so.0.0.0 libslang.so.1 -> libslang.so.1.4.4 libproc.so.2.0.7 -> libproc.so.2.0.7 libreadline.so.4 -> libreadline.so.4.2 libhistory.so.4 -> libhistory.so.4.2 libpopt.so.0 -> libpopt.so.0.0.0 libpamc.so.0 -> libpamc.so.0.72 libpam_misc.so.0 -> libpam_misc.so.0.72 libpam.so.0 -> libpam.so.0.72 libncurses.so.5 -> libncurses.so.5.2 libdb.so.3 -> libdb.so.3 libdb2.so.2 -> libdb2.so.2.7.7 libthread_db.so.1 -> libthread_db-1.0.so libpthread.so.0 -> libpthread-0.9.so libSegFault.so -> libSegFault.so libutil.so.1 -> libutil-2.2.5.so librt.so.1 -> librt-2.2.5.so libresolv.so.2 -> libresolv-2.2.5.so libnss_nisplus.so.2 -> libnss_nisplus-2.2.5.so libnss_nis.so.2 -> libnss_nis-2.2.5.so libnss_hesiod.so.2 -> libnss_hesiod-2.2.5.so libnss_files.so.2 -> libnss_files-2.2.5.so libnss_dns.so.2 -> libnss_dns-2.2.5.so libnss_compat.so.2 -> libnss_compat-2.2.5.so libnsl.so.1 -> libnsl-2.2.5.so libm.so.6 -> libm-2.2.5.so libdl.so.2 -> libdl-2.2.5.so libdb.so.2 -> libdb1-2.2.5.so libcrypt.so.1 -> libcrypt-2.2.5.so libc.so.6 -> libc-2.2.5.so libanl.so.1 -> libanl-2.2.5.so libBrokenLocale.so.1 -> libBrokenLocale-2.2.5.so ld-linux.so.2 -> ld-2.2.5.so libcap.so.1 -> libcap.so.1.10 libuuid.so.1 -> libuuid.so.1.2 libext2fs.so.2 -> libext2fs.so.2.4 libe2p.so.2 -> libe2p.so.2.3 libss.so.2 -> libss.so.2.0 libcom_err.so.2 -> libcom_err.so.2.0 -- blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/apache2/ ap_compat.h ap_release.h http_vhost.h mod_status.h ssl_expr.h util_filter.h ap_config.h fdqueue.h httpd.h mpm.h ssl_expr_parse.h util_ldap.h ap_config_auto.h http_config.h mod_cgi.h mpm_common.h ssl_toolkit_compat.h util_md5.h ap_config_layout.h http_connection.h mod_core.h mpm_default.h ssl_util_ssl.h util_script.h ap_listen.h http_core.h mod_dav.h os.h ssl_util_table.h util_time.h ap_mmn.h http_log.h mod_include.h pcreposix.h unixd.h util_xml.h ap_mpm.h http_main.h mod_log_config.h pod.h util_cfgtree.h xmltok.h ap_provider.h http_protocol.h mod_proxy.h rfc1413.h util_charset.h ap_regkey.h http_request.h mod_ssl.h scoreboard.h util_ebcdic.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/apr-0/ apr.h apr_errno.h apr_ldap_url.h apr_proc_mutex.h apr_support.h apr_want.h apr_allocator.h apr_file_info.h apr_lib.h apr_queue.h apr_tables.h apr_xlate.h apr_anylock.h apr_file_io.h apr_md4.h apr_reslist.h apr_thread_cond.h apr_xml.h apr_atomic.h apr_fnmatch.h apr_md5.h apr_ring.h apr_thread_mutex.h apu.h apr_base64.h apr_general.h apr_mmap.h apr_rmm.h apr_thread_proc.h apu_compat.h apr_buckets.h apr_getopt.h apr_network_io.h apr_sdbm.h apr_thread_rwlock.h apu_version.h apr_compat.h apr_global_mutex.h apr_optional.h apr_sha1.h apr_time.h apu_want.h apr_date.h apr_hash.h apr_optional_hooks.h apr_shm.h apr_uri.h apr_dbm.h apr_hooks.h apr_poll.h apr_signal.h apr_user.h apr_dso.h apr_inherit.h apr_pools.h apr_strings.h apr_uuid.h apr_env.h apr_ldap.h apr_portable.h apr_strmatch.h apr_version.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/openssl/ asn1.h buffer.h crypto.h e_os.h hmac.h obj_mac.h pem2.h rc4.h ssl.h symhacks.h x509_vfy.h asn1_mac.h cast.h des.h e_os2.h lhash.h objects.h pkcs12.h ripemd.h ssl2.h tls1.h x509v3.h bio.h comp.h dh.h ebcdic.h md2.h opensslconf.h pkcs7.h rsa.h ssl23.h tmdiff.h blowfish.h conf.h dsa.h err.h md4.h opensslv.h rand.h safestack.h ssl3.h txt_db.h bn.h conf_api.h dso.h evp.h md5.h pem.h rc2.h sha.h stack.h x509.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/xmltok/ asciitab.h iasciitab.h nametab.h xmldef.h xmlrole.h xmltok_impl.h hashtable.h latin1tab.h utf8tab.h xmlparse.h xmltok.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# |
From: Haymo M. <ha...@ha...> - 2004-09-25 13:20:06
|
hi! I am running debian woody and apache2 from backports.org. I compiled apache from the debian source package and downloaded the=20 source package of libapache2-mod-cfg-ldap. Everything worked fine til=20 there, but trying to buildpackage did not succed. What there sould be wrong... here some version stamps: apache2: 2.0.51-1.backports.org.1 libldap2-dev: 2.2.1beta-0.1-0woody1 (try before with 2.0.something=20 which did even not work) don't know what could be important either? here the compile error: -- blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial#=20 dpkg-buildpackage dpkg-buildpackage: source package is libapache2-mod-cfg-ldap dpkg-buildpackage: source version is 1.2-unofficial-1 dpkg-buildpackage: source maintainer is S=E9bastien CRAMATTE=20 <co...@ze...> dpkg-buildpackage: host architecture is i386 debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp /usr/bin/make clean make[1]: Entering directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' rm -rf *.lo *.slo *.so *.o .libs/ *~ core make[1]: Leaving directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' dh_clean dpkg-source -b libapache2-mod-cfg-ldap-1.2-unofficial dpkg-source: building libapache2-mod-cfg-ldap using existing=20 libapache2-mod-cfg-ldap_1.2-unofficial.orig.tar.gz dpkg-source: building libapache2-mod-cfg-ldap in=20 libapache2-mod-cfg-ldap_1.2-unofficial-1.diff.gz dpkg-source: building libapache2-mod-cfg-ldap in=20 libapache2-mod-cfg-ldap_1.2-unofficial-1.dsc debian/rules build dh_testdir /usr/bin/make make[1]: Entering directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' apxs2 -c -lldap_r -o mod_cfg_ldap.so mod_cfg_ldap.c -shared /usr/bin/libtool --silent --mode=3Dcompile gcc -prefer-pic -pipe=20 -I/usr/include/xmltok -I/usr/include/openssl -O2=20 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=3D2 -D_REENTRANT=20 -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe=20 -I/usr/include/xmltok -I/usr/include/openssl -O2 -pthread=20 -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-0=20 -I/usr/include -c -o mod_cfg_ldap.lo mod_cfg_ldap.c && touch=20 mod_cfg_ldap.slo mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': mod_cfg_ldap.c:107: parse error before `int' mod_cfg_ldap.c:115: parse error before `int' mod_cfg_ldap.c:117: `rc' undeclared (first use in this function) mod_cfg_ldap.c:117: (Each undeclared identifier is reported only once mod_cfg_ldap.c:117: for each function it appears in.) mod_cfg_ldap.c:117: `version' undeclared (first use in this function) mod_cfg_ldap.c:124: parse error before `int' mod_cfg_ldap.c:125: `SSLmode' undeclared (first use in this function) mod_cfg_ldap.c: In function `cfg_ldap_read_vhost_from_ldap': mod_cfg_ldap.c:211: parse error before `*' mod_cfg_ldap.c:212: `vhost' undeclared (first use in this function) mod_cfg_ldap.c:216: parse error before `char' mod_cfg_ldap.c:217: `filter' undeclared (first use in this function) mod_cfg_ldap.c:219: parse error before `int' mod_cfg_ldap.c:221: `rc' undeclared (first use in this function) mod_cfg_ldap.c:221: `res' undeclared (first use in this function) mod_cfg_ldap.c:228: parse error before `*' mod_cfg_ldap.c:229: `entry' undeclared (first use in this function) mod_cfg_ldap.c:232: parse error before `int' mod_cfg_ldap.c:234: `count' undeclared (first use in this function) mod_cfg_ldap.c:237: warning: unreachable code at beginning of switch=20 statement mod_cfg_ldap.c:249: parse error before `char' mod_cfg_ldap.c:256: `attr' undeclared (first use in this function) mod_cfg_ldap.c:256: `ber' undeclared (first use in this function) mod_cfg_ldap.c:258: `val' undeclared (first use in this function) mod_cfg_ldap.c:260: `vhost_name' undeclared (first use in this function) mod_cfg_ldap.c:261: `vhost_admin' undeclared (first use in this function) mod_cfg_ldap.c:262: `vhost_docroot' undeclared (first use in this functio= n) mod_cfg_ldap.c: In function `set_cfg_ldap_cert_auth': mod_cfg_ldap.c:413: parse error before `const' mod_cfg_ldap.c:414: `err' undeclared (first use in this function) apxs:Error: Command failed with rc=3D65536 . make[1]: *** [mod_cfg_ldap.so] Error 1 make[1]: Leaving directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' make: *** [build-stamp] Error 2 |
From: Andreas B. <ma...@an...> - 2004-09-12 16:33:12
|
Hi, it'd be definitely interesting to use mod_ldap for connection handling and pooling etc. The only drawback is that it's still an experimental module and therefore vendor support from e.g. Redhat is missing. Thus I'd like to keep the current connection code at least as an option. Regards, Andreas On Sat, Sep 04, 2004 at 03:09:58PM +0200, Zen Interactif wrote: > To improve global mod_cfg_ldap performance > it would interestant to use mod_ldap > (http://httpd.apache.org/docs-2.0/mod/mod_ldap.html) standard module like > mod_auth_ldap ... -- Andreas Brenk mailto:ma...@an... http://andreasbrenk.com/ |
From: Zen I. <co...@ze...> - 2004-09-04 13:10:15
|
Hi, To improve global mod_cfg_ldap performance it would interestant to use mod_ldap (http://httpd.apache.org/docs-2.0/mod/mod_ldap.html) standard module like mod_auth_ldap ... bye Sébastien |
From: <ben...@id...> - 2004-05-25 08:35:58
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Turbo F. <tu...@ba...> - 2004-04-13 10:16:29
|
Quoting Andreas Brenk <mai...@an...>: > An objectClass apacheConfig is contained in the distribution but you > are free to adopt these attributes into your own, private > objectClass(es). I was just using my schema because I know it well (and because your schema was lacking some attributes). > Let's take www.example.com as an example here. What mod_cfg_ldap does is > to search the tree for a node that has an attribute > apacheServerName=www.example.com or apacheServerAlias=www.example.com > (since 1.1 it adds the user-defined search filter). > If it doesn't find a node it doesn't handle the request. Hmm, oki. I see your point. I was thinking backwards (or sideways :). > Talking about my example LDIF: If you have an Apache server that should > serve customer-one's vhost but not customer-two's you could set the > user-defined filter to "(ARecord=172.16.1.1)". Right. This will specify which vhost(s) that is availible on what physical machine/ip. > I hope this helps. Maybe I should wrap this up into a howto or manual... It does, and YES YOU SHOULD!! :) |
From: Andreas B. <ma...@an...> - 2004-04-13 09:39:42
|
I hate to object but you've got something wrong here. mod_cfg_ldap can handle as many virtual hosts as you like. And since 1.1 on as many different servers as you like. I'll explain everything some more. And clarify my vocabulary. A "server" is an instance of Apache. Not necessarily on a physical machine but normally so. A "virtual host" is a website that is distinguished from other websites by the Host-header during the HTTP request. It has its own DocumentRoot, ServerAdmin etc. The only thing mod_cfg_ldap requires is that a virtual host has its own node in the tree and is using apacheServerName and/or apacheServerAlias attributes that contain the Host-header value. An objectClass apacheConfig is contained in the distribution but you are free to adopt these attributes into your own, private objectClass(es). Let's take www.example.com as an example here. What mod_cfg_ldap does is to search the tree for a node that has an attribute apacheServerName=www.example.com or apacheServerAlias=www.example.com (since 1.1 it adds the user-defined search filter). If it doesn't find a node it doesn't handle the request. If if find two or more nodes it complains and doesn't handle the request (you mentioned this line in the code in your last mail) - how should mod_cfg_ldap decide which node to prefer... (okay, one could add a "disabled" attribute). Finding a single node mod_cfg_ldap reads the values for DocumentRoot etc. from that dn. Getting a request for www.test.com it repeats these steps. I've appended an example LDIF. Maybe everything get's clearer if you see what tree I have in mind. Each customer (friend, family) has his own branch like in your LDIF example. Some DNs contain the domain name in its name, some not - that doesn't matter. Talking about my example LDIF: If you have an Apache server that should serve customer-one's vhost but not customer-two's you could set the user-defined filter to "(ARecord=172.16.1.1)". To test your filter YOURFILTER for virtual host HOSTHEADER you can search manually using: (&(|(apacheServerName=HOSTHEADER)(apacheServerAlias=HOSTHEADER))YOURFILTER) (That's in line 168 of mod_cfg_ldap.c) That way we don't need "links" between webserver-node and vhost-nodes. To configure general Apache behaviour one could add a "main webserver config node" (like with qmail-ldap and qmail-ldap-control). Taking up your example you'd only need to add or substitute the following (or I could make the attribute names configurable if you like): > dn: cn=testing.bayour.com,ou=WEB,dc=bayour,dc=com > objectClass: phpQLAdminWebVHost objectClass: apacheConfig > cn: testing.bayour.com > webServerName: testing.bayour.com apacheServerName: testing.bayour.com > webServerIP: 192.168.1.4 > webServerURL: http://testing.bayour.com/ > webServerAdmin: tu...@ba... apacheServerAdmin: tu...@ba... > webDocumentRoot: /var/www/testing/ apacheDocumentRoot: /var/www/testing/ > webLogError: /var/log/apache/testing-error.log > webLogTransfer: /var/log/apache/testing-trans.log (...the same with the second node...) If you want the Apache on 192.168.1.4 just to pick up the nodes where webServerIP has its IP set the user-defined filter to (webServerIP=192.168.1.4). If it has multiple IPs you could also do that: (|(webServerIP=192.168.1.4)(webServerIP=192.168.1.5)). I hope this helps. Maybe I should wrap this up into a howto or manual... Regards, Andreas Am Tue, Apr 13, 2004 at 10:17:55AM +0200, schrieb Turbo Fredriksson: > As described a week or so ago in my 'introduction letter', there's > a problem with multiple vhosts on one server. As it is now, modcfgldap > can only handle ONE vhost on ONE server. This is obviosly wrong, but > easiest to code for... > > > I'm an ISP. Even though I don't SELL - for money - internet access, I > do offer mail-/web-/shellhosting to friends, family, familys family > and friends family etc. This means that my LDAP database is organized > in such a way that each friend/family have it's own branch in the database: > > ----- s n i p ----- > [papadoc.pts/12]$ ldapsearch -LLL -s one dn | grep ^dn: 2> /dev/null > dn: dc=sundqvist,dc=com > dn: dc=winas,dc=com > dn: dc=intelligence-5,dc=com > dn: dc=bayour,dc=com > dn: dc=gamestudio,dc=com > dn: dc=fredriksson,dc=com > dn: dc=agby,dc=com > dn: dc=bortheiry,dc=com > dn: dc=sahlen,dc=com > dn: dc=vger,dc=com > dn: dc=henriksson,dc=com > ----- s n i p ----- > > Some (or all if need be) might have/want their own vhost - some have registered > domains not showned by the DN, some don't. This naturaly mean that I'd like > THEIR vhost somewhere under THEIR branch... > > The idea I'm having (please contribute) is to have ONE object specifying information > about this webserver and 'links' to the actual vhosts. > > Example: > 'dc=papadoc,dc=bayour,dc=com' is the MAIN branch, where I put everything that > have to do with the actual 'site' (my machines etc), so this is where the main > VHOST object would reside. In this, each of the VHOSTs that's availible for > apache on this server is listed as an RDN: > > ----- s n i p ----- > ; below this DN is where I have my DNS > dn: ou=DNS,dc=bayour,dc=com > > ; this is the main object with links to vhosts > dn: cn=apache,ou=WEB,dc=bayour,dc=com > objectClass: phpQLAdminWebSrv > cn: apache > apacheVHostRDN: cn=testing.bayour.com,ou=WEB,dc=bayour,dc=com > apacheVHostRDN: cn=www.data-akut.se,ou=WEB,dc=bortheiry,dc=com > ; ... other stuff that might be of interest about this machine > > dn: cn=testing.bayour.com,ou=WEB,dc=bayour,dc=com > objectClass: phpQLAdminWebVHost > cn: testing.bayour.com > webServerName: testing.bayour.com > webServerIP: 192.168.1.4 > webServerURL: http://testing.bayour.com/ > webServerAdmin: tu...@ba... > webDocumentRoot: /var/www/testing/ > webLogError: /var/log/apache/testing-error.log > webLogTransfer: /var/log/apache/testing-trans.log > > dn: cn=www.data-akut.se,ou=WEB,dc=bortheiry,dc=com > objectClass: phpQLAdminWebVHost > cn: www.data-akut.se > webServerName: www.data-akut.se > webServerIP: 192.168.1.4 > webServerURL: http://www.data-akut.se/ > webServerAdmin: [the admin for this vhost] > webDocumentRoot: /var/www/dataakut/ > webLogError: /var/log/apache/dataakut-error.log > webLogTransfer: /var/log/apache/dataakut-trans.log > ----- s n i p ----- > > > This would be fairly easy to implement in modcfgldap. Any thoughts so far? > -- > tritium attack smuggle NSA Waco, Texas Noriega DES AK-47 Rule Psix > explosion Honduras colonel congress Panama strategic > [See http://www.aclu.org/echelonwatch/index.html for more about this] > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > modcfgldap-devel mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcfgldap-devel > -- Andreas Brenk mailto:ma...@an... http://www.andreasbrenk.com |
From: Turbo F. <tu...@ba...> - 2004-04-13 08:17:50
|
As described a week or so ago in my 'introduction letter', there's a problem with multiple vhosts on one server. As it is now, modcfgldap can only handle ONE vhost on ONE server. This is obviosly wrong, but easiest to code for... I'm an ISP. Even though I don't SELL - for money - internet access, I do offer mail-/web-/shellhosting to friends, family, familys family and friends family etc. This means that my LDAP database is organized in such a way that each friend/family have it's own branch in the database: ----- s n i p ----- [papadoc.pts/12]$ ldapsearch -LLL -s one dn | grep ^dn: 2> /dev/null dn: dc=sundqvist,dc=com dn: dc=winas,dc=com dn: dc=intelligence-5,dc=com dn: dc=bayour,dc=com dn: dc=gamestudio,dc=com dn: dc=fredriksson,dc=com dn: dc=agby,dc=com dn: dc=bortheiry,dc=com dn: dc=sahlen,dc=com dn: dc=vger,dc=com dn: dc=henriksson,dc=com ----- s n i p ----- Some (or all if need be) might have/want their own vhost - some have registered domains not showned by the DN, some don't. This naturaly mean that I'd like THEIR vhost somewhere under THEIR branch... The idea I'm having (please contribute) is to have ONE object specifying information about this webserver and 'links' to the actual vhosts. Example: 'dc=papadoc,dc=bayour,dc=com' is the MAIN branch, where I put everything that have to do with the actual 'site' (my machines etc), so this is where the main VHOST object would reside. In this, each of the VHOSTs that's availible for apache on this server is listed as an RDN: ----- s n i p ----- ; below this DN is where I have my DNS dn: ou=DNS,dc=bayour,dc=com ; this is the main object with links to vhosts dn: cn=apache,ou=WEB,dc=bayour,dc=com objectClass: phpQLAdminWebSrv cn: apache apacheVHostRDN: cn=testing.bayour.com,ou=WEB,dc=bayour,dc=com apacheVHostRDN: cn=www.data-akut.se,ou=WEB,dc=bortheiry,dc=com ; ... other stuff that might be of interest about this machine dn: cn=testing.bayour.com,ou=WEB,dc=bayour,dc=com objectClass: phpQLAdminWebVHost cn: testing.bayour.com webServerName: testing.bayour.com webServerIP: 192.168.1.4 webServerURL: http://testing.bayour.com/ webServerAdmin: tu...@ba... webDocumentRoot: /var/www/testing/ webLogError: /var/log/apache/testing-error.log webLogTransfer: /var/log/apache/testing-trans.log dn: cn=www.data-akut.se,ou=WEB,dc=bortheiry,dc=com objectClass: phpQLAdminWebVHost cn: www.data-akut.se webServerName: www.data-akut.se webServerIP: 192.168.1.4 webServerURL: http://www.data-akut.se/ webServerAdmin: [the admin for this vhost] webDocumentRoot: /var/www/dataakut/ webLogError: /var/log/apache/dataakut-error.log webLogTransfer: /var/log/apache/dataakut-trans.log ----- s n i p ----- This would be fairly easy to implement in modcfgldap. Any thoughts so far? -- tritium attack smuggle NSA Waco, Texas Noriega DES AK-47 Rule Psix explosion Honduras colonel congress Panama strategic [See http://www.aclu.org/echelonwatch/index.html for more about this] |
From: Andreas B. <ma...@an...> - 2004-04-10 15:05:01
|
Hi, I just released version 1.1 of mod_cfg_ldap. New in this release is the addition of a user-defined search filter that is used during LDAP queries. Now you can have different Apache servers only use a portion of all configured vhosts by filtering based on any=20 attribute. Using for example the ARecord attribute of cosine.schema you could have server A on IP 172.16.1.1 and server B on IP 172.16.1.2. On server A you would use a filter like (ARecord=3D172.16.1.1) and have all of its vhosts in the LDAP directory use the structural dnsDomain object and an ARecord entry with that IP. If you wanted a vhost to be served by both servers you'd only have to add two ARecords with both IPs. Using (objectClass=3DapacheConfig) will effectively not filter at all as all vhost entries have that objectClass. Please direct any usage questions to the -users mailing list. Regards, Andreas --=20 Andreas Brenk mailto:ma...@an... http://www.andreasbrenk.com |
From: Turbo F. <tu...@ba...> - 2004-04-05 08:12:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [I sent this privatly to Andreas, but just to introduce my self to the list, incase there's more than the two of us, here's the mail again] Hi, I'm looking at your mod_cfg_ldap module, and I have some questions and thoughts if you don't mind... HISTORY: I'm the author of the LDAPv3 HOWTO (http://www.bayour.com/LDAPv3-HOWTO.html), and phpQLAdmin (http://phpqladmin.bayour.com/). I took over phpQLAdmin about a year ago, and it's now more of a ISP tool than a pure 'mail (server) administration' tool. A couple of months ago, I added 'web server administration' (in addition to Bind9/LDAP sdb administration which was added about a year ago). I made my own schema and a perl script that extracts all vhosts information, which could be cron-autogenerated (and included from the main httpd.conf file). This was never the perfect solution, but that was what was easiest to do... Now, looking at mod_cfg_ldap I see that much of this (but not all) can be done with mod_cfg_ldap instead of (re-)loading the configuration regularly. - ----- s n i p ----- [papadoc.pts/5]$ ./create_websrv_cfg.pl <VirtualHost 192.168.1.4> ServerName testing.bayour.com DocumentRoot /var/www/testing/ ErrorLog /var/log/apache/testing-error.log TransferLog /var/log/apache/testing-trans.log ServerAdmin tu...@ba... </VirtualHost> - ----- s n i p ----- This will be created from an object that looks like: - ----- s n i p ----- dn: cn=testing.bayour.com,ou=WEB,dc=bayour,dc=com cn: testing.bayour.com objectClass: phpqladminwebsrv webServerName: testing.bayour.com webServerIP: 192.168.1.4 webServerURL: http://testing.bayour.com/ webServerAdmin: tu...@ba... webDocumentRoot: /var/www/testing/ webLogError: /var/log/apache/testing-error.log webLogTransfer: /var/log/apache/testing-trans.log - ----- s n i p ----- As you can see, I'm using my own attributes/objectclasses here (just as a reference on how 'far' I've got). It is possible to add options (such as 'RewriteEngine on' and 'RewriteRule ..' etc) which would then be added to the 'webOptions' attribute. Now, this is (partly) what differs from you module. I see _ALL_ information in ALL of the LDAP server belonging to ONE server. NOTE: Now, only ONE webserver allowed in the LDAP server is obviously wrong to, but I've started to think on how to solve this (and I have some vage ideas). That is, ALL of these objects would be loaded into one web server... After all, the point is to have MULTIPLE vhosts in ONE server... This is where mod_cfg_ldap fails. I think. I'm currently only reading the source for it... - ----- s n i p ----- int count = ldap_count_entries (ld, res); if (count > 1) { ap_log_error (APLOG_MARK, APLOG_WARNING, 0, s, "cfg_ldap: more than one entry for %s", hostname); return vhost; } - ----- s n i p ----- This, and the fact that all attributes (but 'apacheServerAlias'), is SINGLE-VALUE attributes leads me to think that mod_cfg_ldap will only allow ONE vhost per server... I would be very happy to 'put my code where my mouth is' and participate in this project. We have mutual goals - mine is to have EVERYTHING in LDAP, but your's can't be much 'worse' :) Let's cooperate on this... NOTE: In the phpQLAdmin demo site you can view the Web server configurator by 1. logging in as 'demo1:demo1' 2. tick in 'Advanced mode' (left frame) 3. click on 'Main branch' (left frame) 4. click on 'Webserver Administration' (right frame) Other than this, feel free to do whatever you want in the demo. The database will be autogenerated every now and then... The (developer/latest) schema can (always) be found at the URL http://phpqladmin.bayour.com/phpQLAdmin.schema.txt. The interesting OIDs (in reagards to mod_cfg_ldap) is 1.3.6.1.4.1.8767.3.2.5.*. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/> iD8DBQFAcRTxmlWzPKccHgARAgd8AJ4jquSFYWQbi2TVIZhUplh1h7Wo0gCdFoJf vj2Ivr3Cc2Ne4bdT55GgVzk= =fPkm -----END PGP SIGNATURE----- |
From: <tm...@ko...> - 2003-11-15 18:01:24
|
Sorry, I found out, that the is a Port for FreeBSD already. Am 14.11.2003 um 23:53 schrieb Tom M=FCller-Kortkamp: > It's FreeBSD-4.9 > apache-2.0.48 > openldap-2.1.22 > > Error: > apxs -Wc,-Wall -Wc,-Werror -Wc,-g -c -lldap_r mod_cfg_ldap.c > /usr/local/share/apache2/build/libtool --silent --mode=3Dcompile cc =20= > -prefer-pic -O -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT =20 > -D_THREAD_SAFE -I/usr/local/include/apache2 =20 > -I/usr/local/include/apache2 -I/usr/local/include/apache2 =20 > -I/usr/local/include -Wall -Werror -g -c -o mod_cfg_ldap.lo =20 > mod_cfg_ldap.c && touch mod_cfg_ldap.slo > mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': > mod_cfg_ldap.c:92: syntax error before `int' > > looks like that "-lldap_r" thing, I don't have such a Lib. > Is it the same as /usr/local/lib/libldap_r.so ? > > Why is /usr/local/include/apache2 included three times? > > So much Questions? > > > BTW: Great thing! Will there be support for other vhost-directives =20 > like directory or Limit? > I was just trying to write a perl-skript like > [...] > ServerName =3D> "$serverName", > ServerAlias =3D> "$siteAliases", > DocumentRoot =3D> "$htdocs", > ErrorLog =3D> "$logs/error.log", > CustomLog =3D> "$logs/access.log combined", > ServerAdmin =3D> "$serverAdmin", > Directory =3D> { > "$htdocs" =3D> { > DAV =3D> 'ON', > LimitExcept =3D> {'GET HEAD OPTIONS'} =3D> { > AuthType =3D> "Basic", > AuthLDAPEnabled =3D> "on", > AuthLDAPAuthoritative =3D> "on ", > [...] > > Tom M=FCller-Kortkamp > kommunity GmbH & Co. KG > Goseriede 4 > 30159 Hannover > > Tel: 0511/121085-350 > Fax: 0511/121085-399 > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=3Dmm/=20 > g22lp.tmpl > _______________________________________________ > Modcfgldap-devel mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modcfgldap-devel > Tom M=FCller-Kortkamp kommunity GmbH & Co. KG Goseriede 4 30159 Hannover Tel: 0511/121085-350 Fax: 0511/121085-399 |
From: <tm...@ko...> - 2003-11-14 22:53:50
|
It's FreeBSD-4.9 apache-2.0.48 openldap-2.1.22 Error: apxs -Wc,-Wall -Wc,-Werror -Wc,-g -c -lldap_r mod_cfg_ldap.c /usr/local/share/apache2/build/libtool --silent --mode=3Dcompile cc=20 -prefer-pic -O -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT=20 -D_THREAD_SAFE -I/usr/local/include/apache2 =20 -I/usr/local/include/apache2 -I/usr/local/include/apache2=20 -I/usr/local/include -Wall -Werror -g -c -o mod_cfg_ldap.lo=20 mod_cfg_ldap.c && touch mod_cfg_ldap.slo mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': mod_cfg_ldap.c:92: syntax error before `int' looks like that "-lldap_r" thing, I don't have such a Lib. Is it the same as /usr/local/lib/libldap_r.so ? Why is /usr/local/include/apache2 included three times? So much Questions? BTW: Great thing! Will there be support for other vhost-directives like=20= directory or Limit? I was just trying to write a perl-skript like [...] ServerName =3D> "$serverName", ServerAlias =3D> "$siteAliases", DocumentRoot =3D> "$htdocs", ErrorLog =3D> "$logs/error.log", CustomLog =3D> "$logs/access.log combined", ServerAdmin =3D> "$serverAdmin", Directory =3D> { "$htdocs" =3D> { DAV =3D> 'ON', LimitExcept =3D> {'GET HEAD OPTIONS'} =3D> { AuthType =3D> "Basic", AuthLDAPEnabled =3D> "on", AuthLDAPAuthoritative =3D> "on ", [...] Tom M=FCller-Kortkamp kommunity GmbH & Co. KG Goseriede 4 30159 Hannover Tel: 0511/121085-350 Fax: 0511/121085-399 |