Hi Paul,
> I have put an updated version of mod_auth_mysql onto
> http://open.cyanworlds.com/
> Changes from Initial Release:
> + Removed evil signal() calls
> + Changed Config Style
> + Added Database Pooling
> + Added Multiple Database Connections
> + General Cleanup
> TODO:
> - Make Database Pool Size config options (right now they are hard coded!)
> - General Cleanup
> - Make Configuring Not so "hackish"
> - Add Much Better Error Detection/Logging.
> - Add end user SQL query as suggested on apache-dev
> - Test Scalling/Stability
> I e-mailed [EMAIL PROTECTED] as was suggested regardling licensing, but I
> haven't heard anything back from him yet
have just compiled NetWare and Win32 target;
NetWare builds and loads fine - connection not yet tested...
Win32 breaks for some reasons:
- the following is not exported by any lib:
mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol
__imp__apr_reslist_acquire@8
mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol
__imp__apr_reslist_release@8
mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol
__imp__apr_reslist_create@40
found that apr_reslist.c isnt compiled with Win32; so I added it to aprutil.dsp:
--- aprutil.dsp.orig Fri Feb 07 00:48:29 2003
+++ aprutil.dsp Wed Feb 19 04:31:39 2003
@@ -225,6 +225,10 @@
# End Source File
# Begin Source File
+SOURCE=.\misc\apr_reslist.c
+# End Source File
+# Begin Source File
+
SOURCE=.\misc\apr_rmm.c
# End Source File
# End Group
but aprutil.lib still doesnt export the above symbols...
this one could be taken from an OS lib:
mod_authn_mysql.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__tmpnam
but I think you should better use here
APR_DECLARE(apr_status_t) apr_file_mktemp(apr_file_t **fp, char *templ,
apr_int32_t flags, apr_pool_t *p);
to be platform-independent...
and added this:
#include "util_md5.h" /* for ap_md5 */
and I'm not happy with the #include "mysql/mysql.h"; with this I have to set an
additional include path because all other headers from mysql dont prefix with mysql.
This is only a problem on other platforms than unix; on unix the directory below mysql
is always already in the include path...
Guenter.