Re: Anywhere to FTP latest mod_auth_mysql?
Jonathan Mangin wrote: File downloads are enabled in IE but refuse to work. Does anyone know where I can FTP the latest version of mod_auth_mysql While this particular apache module does deal with mysql, the question you are asking is more oriented to the module working with apache than help with understanding/adjusting the sql schema behind it. That said, your question would probably be best answered in the mailing list of that particular module, or an apache related mailing list. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Anywhere to FTP latest mod_auth_mysql?
File downloads are enabled in IE but refuse to work. Does anyone know where I can FTP the latest version of mod_auth_mysql? Thanks, Jon -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Using mod_auth_mysql with Apache 2
Look in /etc/httpd/conf.d. These config files are included by a line in httpd.conf. Now, find the config file for mod_auth_mysql. At the top, there may be something like ...stuff there... . For some reason, the installed RPM is not defining HAVE_MOD_AUTH_MYSQL, thus it isn't loading. Comment out the and lines, restart Apache, and that should put you on your way. You didn't say which distribution you were using, but I had that problem with an update to Apache on Mandrake 9.2. Hope that helps!! j- k- On Friday 27 February 2004 10:24 am, James Marcinek wrote: > Hello all! > > I know this isn't an Apache list but I already checked the documentation > on Apache.org on trying to get this configured correctly. > > I have a question about mod_auth_mysql. I installed the rpms for > Apache(2.x) and Mysql and I can see the module is in the > /etc/httpd/modules dirctory: > > mod_auth_mysql.so > > However I do not see this added in the httpd.conf file. I also checked > what modules are loaded statically with the httpd -l command, and it > wasn't listed. > > The reference material I have is a bit vague so I'm hoping that someone > can help me out as this is the first time I'm setting this up. The > material covers Apache 1.x and 2(at the same time) so I'm not sure what I > have to do (if anything) > > I'm assuming that I have to add this module to the Dynamic Shared Object > support section of the httpd.conf: > > auth_mysql_module modules/mod_auth_mysql.so > > Is this correct? > > Also, my reference material also indicates I need to add a line to the > httpd.conf to give mod_auth_mysql the parameters it needs to connect to > MySQL: > > Auth_MySQL_Info hostname user password > > Is this right? Where in the httpd.conf should this be placed. > > Any help would be great! > > Thanks, > > James -- Joshua J. Kugler Fairbanks, Alaska Computer Consultant--Systems Designer .--- --- ... ..- .--.- ..- --. .-.. . .-. [EMAIL PROTECTED] ICQ#:13706295 Every knee shall bow, and every tongue confess, in heaven, on earth, and under the earth, that Jesus Christ is LORD -- Count on it! -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Using mod_auth_mysql with Apache 2
Hello all! I know this isn't an Apache list but I already checked the documentation on Apache.org on trying to get this configured correctly. I have a question about mod_auth_mysql. I installed the rpms for Apache(2.x) and Mysql and I can see the module is in the /etc/httpd/modules dirctory: mod_auth_mysql.so However I do not see this added in the httpd.conf file. I also checked what modules are loaded statically with the httpd -l command, and it wasn't listed. The reference material I have is a bit vague so I'm hoping that someone can help me out as this is the first time I'm setting this up. The material covers Apache 1.x and 2(at the same time) so I'm not sure what I have to do (if anything) I'm assuming that I have to add this module to the Dynamic Shared Object support section of the httpd.conf: auth_mysql_module modules/mod_auth_mysql.so Is this correct? Also, my reference material also indicates I need to add a line to the httpd.conf to give mod_auth_mysql the parameters it needs to connect to MySQL: Auth_MySQL_Info hostname user password Is this right? Where in the httpd.conf should this be placed. Any help would be great! Thanks, James -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
mod_auth_mysql help !!!
Hi, I am working on set up the new apache server on Linux using Mysql databases, and moving all the files from old server to new one. Problem I have is how to set the mod_auth_mysql on the new one? I need to have MySQl authentication when users to get in the website. Old machine Apache version: 1.3.20 , new machine Apache version is 2.0. The Mysql data database name is Safety, Safety has SUsers table, which has susername and spassword ... fields. on old server httpd.conf, there are follwing two sentences doing the authentication: Auth_MYSQL_Info . webadmin password(for webadmin) Auth_MySQL_General_db Safety webadmin is in the user table of mysql, but not in the Safety database, webadmin has all the provileges for Safety database. I have set user and db tables of mysql according the mysql database of old one. on the new one: In the auth_mysql.conf file, I added the following line: AuthName "MySQL authenticated zone" AuthType Basic AuthMySQLUser webadmin AuthMySQLPassword password for webadmin AuthMySQLDB Safety AuthMySQLUserTable SUsers AuthMySQLNameField susername AuthMySQLPasswordField spassword require valid-user After stop and start http, I get the authenticated login and password prompt, that is what I need, but I can not login use my susername and spassword in Safety database, which I do not have problem to get in on the old server. I have tried to reset my spassword in Safety database, it will not let me in either, and I tried to use password('') function to reset my spassword, I can't get in either, when I tried use encrypt('') function to reset my spassword, and click on the new serve, it even does not give me the authenticated login and password prompt and get nothing from Safety database. I add webadmin to the Safety database and grant all the privileges, it happened the same as I use encrypt function to reset my password without prompt for login and password. the mysql version on the old machine is 3.23.38, on the new one is 3.26.59 and the spassword field is defined as varchar(16). Thanks in advance for all your help and I am looking forward to hearing from you !!! Shirly Xu TAMU -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
Hello All, Redhat 9.0 Mysql 3.23.56 ==> Running I want to upgarde to 4.0.13 but this is the error it says: [EMAIL PROTECTED] downloads]# rpm -Uvh MySQL-server-4.0.13-0.i386.rpm warning: MySQL-server-4.0.13-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 error: Failed dependencies: libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12 libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3 libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17.2 If i install with -i will it install with the backward compatibility, it should not break those dependencies. Any comments ? Thanks in Advance! Tina. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Mon, 11 Aug 2003, System wrote: > Hello All, > Redhat 9.0 > Mysql 3.23.56 ==> Running > > I want to upgarde to 4.0.13 but this is the error it says: > [EMAIL PROTECTED] downloads]# rpm -Uvh MySQL-server-4.0.13-0.i386.rpm > warning: MySQL-server-4.0.13-0.i386.rpm: V3 DSA signature: NOKEY, key ID > 5072e1f5 > error: Failed dependencies: > libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12 > libmysqlclient.so.10 is needed by (installed) > perl-DBD-MySQL-2.1021-3 > libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17.2 > > If i install with -i will it install with the backward compatibility, it > should not break those dependencies. > > Any comments ? You need to install MySQL-shared-compat in addition to MySQL-server - this will satisfy the library dependencies. http://www.mysql.com/doc/en/Linux-RPM.html Bye, LenZ - -- Lenz Grimmer <[EMAIL PROTECTED]> Senior Production Engineer MySQL GmbH, http://www.mysql.de/ Hamburg, Germany For technical support contracts, visit https://order.mysql.com/?ref=mlgr -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/N3VCSVDhKrJykfIRAvzOAJ9Io3UPSR8o2lNPULN7pX043FW5iACdHefi +u+kj+2kBkLeonbeJhzPhBM= =eQL6 -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
error loading mod_auth_mysql
Hi All, I am running mysql-3.23.52 on OS X (10.2.6) and I'd like to install the mod_auth_mysql module for a job I'm working on that used it under a different platform. I compiled the module using: apxs -c -D APACHE1 -L/usr/local/mysql/lib/ -I/usr/include/mysql/ -lmysqlclient -lm -lz mod_auth_mysql.c and installed it: sudo apxs -i mod_auth_mysql.so both of which seemed to go fine. In the httpd.conf file I have put the two lines: LoadModule mysql_auth_module libexec/httpd/mod_auth_mysql.so AddModule mod_auth_mysql.c but when I try to do a graceful restart of apache I get the following response: % sudo apachectl graceful /usr/sbin/apachectl graceful: configuration broken, ignoring restart /usr/sbin/apachectl graceful: (run 'apachectl configtest' for details) % sudo apachectl configtest Syntax error on line 241 of /etc/httpd/httpd.conf: Cannot load /usr/libexec/httpd/libphp4.so into server: (reason unknown) Is there a particular order that this had to go in the httpd.conf file? I can't understand why it is complaining about libphp4. What do you think I'm doing that I should be doing differently? Thanks very much. Colin. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
re: apache mod_auth_mysql
On Monday 03 February 2003 01:08, Jianping Zhu wrote: > I have rehat 7.3 linux server with apache server running, when i try to > install mod_auth_mysql, i > got followine error msg, > > [root@mango mysqlsrc]# rpm -i mod_auth_mysql-1.11-1.i386.rpm > err: failed dependencies: > libmysqlclient.so.10 is needed by mod_auth_mysql-1.11-1 > --- > how can i fix this problem? > Thanks. Sure, install MySQL-Shared package. If you're sure that you have libmysqlclient.so.10 in your /usr/lib or /usr/local/lib path then just add --nodeps to rpm commandline. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
apache mod_auth_mysql
I have rehat 7.3 linux server with apache server running, when i try to install mod_auth_mysql, i got followine error msg, [root@mango mysqlsrc]# rpm -i mod_auth_mysql-1.11-1.i386.rpm err: failed dependencies: libmysqlclient.so.10 is needed by mod_auth_mysql-1.11-1 --- how can i fix this problem? Thanks. J.P. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Mod_Auth_MySQL for Apache 2 and Windows?
Just wondering whether anyone had a working, compiled mod_auth_mysql module for doing basic auth against a MySQL database on a Windows system (XP to be exact). If not, has anyone ever compiled one on Windows? I found one for Apache 2.0.43 at this site: http://www.pcp-computer.de/gkn/apache/httpd-2.0/win32/modules/ but it only crashes the Apache server. (Other people have had the same problem with this version as well.) -- Guy Davis http://www.guydavis.caCalgary, Alberta, Canada Digitally signed by GnuPG (DSA ID 30D52F0B at www.keyserver.net) PGP Fingerprint: 8DC8 4A6F C1AD 393B 39DB CDBF 196D 31D0 30D5 2F0 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Mod_Auth_MySQL for Apache 2 and Windows?
Just wondering whether anyone had a working, compiled mod_auth_mysql module for doing basic auth against a MySQL database on a Windows system (XP to be exact). If not, has anyone ever compiled one on Windows? I found one for Apache 2.0.43 at this site: http://www.pcp-computer.de/gkn/apache/httpd-2.0/win32/modules/ but it only crashes the Apache server. (Other people have had the same problem with this version as well.) -- Guy Davis Phone: (403) 301-3426 Fax: (403) 301-3499 Pason Systems Calgary, AlbertaCanada Digitally signed by GnuPG (DSA ID 759A998E at www.keyserver.net) PGP Fingerprint: F685 97D0 0FC6 F016 E9EB CCD3 F183 1BC7 759A 998E - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
help? w/ mySQL Authentication in Apache2: mod_auth_mysql vs.Apache2 on OSX 10.2.1
hi all, i'm trying to get mod_auth_mysql up/running on my OSX 10.2.1 box to date, i've successuflly gotten Apache2, PHP, Perl, & MySQL humming along together. Here's the env: my current apache server-info reports as: Apache/2.0.44-dev (Unix) mod_perl/1.99_07-dev Perl/v5.8.0 mod_webapp/1.2.0-dev mod_fastcgi/mod_fastcgi-SNAP-0210222112 PHP/4.3.0-dev DAV/2 and mysqladmin version reports: mysqladmin Ver 8.37 Distrib 4.0.4-beta, for apple-darwin6.1 on powerpc Next step for me is User Authentication in Apache2 via a "central" MySQL DB. I.e. -- mod_auth_mysql After having fumbled & failed with Zeef Suraski's mod_auth_mysql-2.20, i discovered Vivek Khera's apache2-friendly build on sourceforge a "normal" (per instrtuctions) apxs build of it got me nowhere . no ".so" was ever built, just a ".la", but combining info from a couple of the sparse posts on the matter got me a lot further! to build mod_auth_mysql.so, the following seems to work . cd /usr/ports/mod_auth_mysql setenv CFLAGS "-no-cpp-precomp" apxs -DAPACHE2 -L/usr/local/mysql4/lib/mysql -I/usr/local/mysql4/include/mysql -lmysqlclient -lm -Wc,-g -c mod_auth_mysql.c cc -DAPACHE2 -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -DSHARED_MODULE -I/usr/include/apache2 -g -L/usr/local/mysql4/lib/mysql -I/usr/local/mysql4/include/mysql -c mod_auth_mysql.c cc -bundle -flat_namespace undefined suppress -o mod_auth_mysql.so mod_auth_mysql.o cp /usr/ports/mod_auth_mysql/mod_auth_mysql.so /usr/libexec/apache2/ apxs -i -a mod_auth_mysql.so this creates: -rwxr-xr-x1 root wheel 41712 Oct 31 12:53 /usr/libexec/apache2/mod_auth_mysql.so & adds to httpd.conf: LoadModule mysql_auth_module libexec/apache2/libauth_mysql.la (hm strange!) so a quick fix in httpd.conf ... (EDITOR) /etc/apache2/httpd.conf --- LoadModule mysql_auth_module libexec/apache2/libauth_mysql.la +++ LoadModule auth_mysql_module libexec/apache2/mod_auth_mysql.so unfortunately, upon access to a test directory "(webroot)/testing", with .htaccess i get an Internal Server Error 500 a peek into my /var/log/apache2/error_log shows: [Thu Oct 31 13:12:29 2002] [alert] [client 172.30.10.6] /Library/WebServer/Documents/testing/.htaccess: Invalid command 'AuthMySQLHost', perhaps mis-spelled or defined by a module not included in the server configuration where my (webroot)/testing/.htaccess is: AuthName "MySQL Testing" AuthType Basic AuthGroupFile /dev/null AuthMySQLHost localhost AuthMySQLDB http_user_auth AuthMySQLUserTable user_info AuthMySQLGroupTable user_group AuthMySQLNameField user_name AuthMySQLPasswordField user_passwd AuthMySQLGroupField user_group require valid-user # * AuthMySQLUser # * AuthMySQLPassword AuthMySQLNoPasswd On AuthMySQLCryptedPasswords On AuthMySQLScrambledPasswords Off AuthMySQLKeepAlive Off AuthMySQLAuthoritative On # * AuthMySQLUserCondition # * AuthMySQLGroupCondition any thoughts/insights/pointers as to what the problem/fix is would be much appreciated! regards, richard - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
mod_auth_mysql
I hope that someone can help with this. I am trying to install mod_auth_mysql as a DSO, but I get errors. Here are the errors when compiling mod_auth_mysql: /usr/local/src/mod_auth_mysql-2.20# cp config.h auth_mysql_config.h /usr/local/src/mod_auth_mysql-2.20# /usr/sbin/apxs -i -a -I/usr/include/mysql -L/usr/lib/mysql \ ? -lmysqlclient -c mod_auth_mysql.c gcc -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/include/apache -I/usr/include/mysql -c mod_auth_mysql.c mod_auth_mysql.c: In function `my_set_string_slot': mod_auth_mysql.c:203: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `safe_mysql_query': mod_auth_mysql.c:405: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:417: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:419: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `mysql_check_group': mod_auth_mysql.c:526: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `mysql_check_auth': mod_auth_mysql.c:589: warning: initialization makes pointer from integer without a cast mod_auth_mysql.c:613: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:619: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:631: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:633: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:635: warning: assignment makes pointer from integer without a cast gcc -shared -o mod_auth_mysql.so mod_auth_mysql.o -L/usr/lib/mysql -lmysqlclient cp mod_auth_mysql.so /usr/lib/apache/mod_auth_mysql.so chmod 755 /usr/lib/apache/mod_auth_mysql.so [activating module `auth_mysql' in /etc/httpd/conf/httpd.conf] Here are the errors I get when trying to restart Apache: Cannot load /usr/lib/apache/mod_auth_mysql.so into server: /usr/lib/apache/mod_auth_mysql.so: undefined symbol: register_cleanup Thank You Steve - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
installing mod_auth_mysql , please help.
I need to install mod_auth_mysql now, but got error , wondering if you could help me out. after i install mod_auth_mysql, then i try to config the apache. ./configure --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf \ --activate-module=src/modules/php4/libphp4.a --enabl e-module=status \ --activate-module=src/modules/auth_mysql/libauth_mysql.a \ --enable-module=rewrite --enable-module=status then i edit src/Makefile and replace LDFLAGS= to LDFLAGS=-lz (delete whatever followd LDFLAGS= and replace it with -lz). and make , then the error message i got is : make[4]: *** No rule to make target '../../include/alloc.h', needed by 'mod_auth_mysql.o'. Stop.make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: *** Leaving directory '/usr/local/etc/apache_1.3.22/src' make[1]: *** [build-std] Error 2 make[1]: *** Leavingdirecotry '/usr/local/etc/apache_1.3.22' make: *** [build] Error 2 please help me , thanx __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
installing mod_auth_mysql , please help.
I need to install mod_auth_mysql now, but got error , wondering if you could help me out. after i install mod_auth_mysql, then i try to config the apache. ./configure --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf \ --activate-module=src/modules/php4/libphp4.a --enabl e-module=status \ --activate-module=src/modules/auth_mysql/libauth_mysql.a \ --enable-module=rewrite --enable-module=status then i edit src/Makefile and replace LDFLAGS= to LDFLAGS=-lz (delete whatever followd LDFLAGS= and replace it with -lz). and make , then the error message i got is : make[4]: *** No rule to make target '../../include/alloc.h', needed by 'mod_auth_mysql.o'. Stop.make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: *** Leaving directory '/usr/local/etc/apache_1.3.22/src' make[1]: *** [build-std] Error 2 make[1]: *** Leavingdirecotry '/usr/local/etc/apache_1.3.22' make: *** [build] Error 2 please help me , thanx __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
RE: MOD_AUTH_MYSQL and apache
i compiled it right into apache , it is working but using clear text passwords. Its 2.20, i found a 3.20 also but it wont compile at all, ive looked all over the web and noone else seems to have a problem , im at a loss here is my .htaccess that works AuthName "Your Login is Required" AuthType Basic Auth_MySQL_DB members Auth_MySQL_Encrypted_Passwords off require valid-user John Lord([EMAIL PROTECTED]) Network Administrator Studio for Publications Inc 410-723-7089 Office [EMAIL PROTECTED] Pager www.4jon.com -Original Message- From: Mike(mickalo)Blezien [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 2:56 PM To: John Lord Subject: Re: MOD_AUTH_MYSQL and apache On Tue, 19 Feb 2002 14:34:16 -0500, "John Lord" <[EMAIL PROTECTED]> wrote: >>yeah tried that also , i get this error in my apache error log >> >>Invalid command 'Auth_MySQL_Encrypted_Types', perhaps mis-spelled or >>defined by a module not included in the server configuration do you have these lines somewhere in your httpd.conf: LoadModule auth_mysql_module libexec/mod_auth_mysql.so AddModule mod_auth_mysql.c and are you sure you have the the most recent version of the mod_auth_mysql installed, 2.20 Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Tel: 1(225)686-2002 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: MOD_AUTH_MYSQL and apache
On Tue, 19 Feb 2002 13:10:01 -0500, "John Lord" <[EMAIL PROTECTED]> wrote: >> >>HAS anyone every used this Module to access mysql before , i have it >>working with clear text passwords just fine but when i took the >>encrypted ones from my old .htpasswd file and put them in my mysql table >>apache cant read them You need to add to your .htaccess file: Auth_MySQL_Encryption_Types Crypt_DES MySQL this tells apache to use either the UNIX crypt or MySQL Password encryption Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! http://www.thunder-rain.com Tel: 1(225)686-2002 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
MOD_AUTH_MYSQL and apache
HAS anyone every used this Module to access mysql before , i have it working with clear text passwords just fine but when i took the encrypted ones from my old .htpasswd file and put them in my mysql table apache cant read them John Lord([EMAIL PROTECTED]) Network Administrator Studio for Publications Inc 410-723-7089 Office [EMAIL PROTECTED] Pager www.4jon.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Compiling mod_auth_mysql as DSO...
Dear sir, Please help and drop me a email.([EMAIL PROTECTED]) I have Apache 1.3.17, MySQL 3.23.30 install on a Sparc Solaris 8 and Apache 1.3.20, MySQL 3.23.40 installed on a Interl RedHat Linux 7.1, I got mod_auth_mysql-2.20 and following below instruction to compile and failed on both platforms, Below is the message when I run on the RH linux, [root@localhost mod_auth_mysql-2.20]# ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-mysql=/usr/local/mysql creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for crypt.h... yes checking for crypt... no checking for crypt in -lc... no checking for crypt in -lcrypt... yes checking for standard DES crypt... yes checking for extended DES crypt... yes checking for MD5 crypt... yes checking for Blowfish crypt... yes checking for Apache module support via DSO through APXS... yes checking for Apache module support via DSO through APACI... no checking for MySQL directory... /usr/local/mysql updating cache ./config.cache creating ./config.status creating Makefile creating libauth_mysql.module creating config.h config.h is unchanged Please run 'make' [root@localhost mod_auth_mysql-2.20]# /usr/local/apache/bin/apxs -I . -I /usr/local/apache/include \ > -I /usr/local/mysql/include -L /usr/local/mysql/lib \ > -lmysqlclient -lm -c mod_auth_mysql.c gcc -DLINUX=22 -I/usr/include/db1 -I/root/php-4.0.6 -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend -I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include -I. -I/usr/local/apache/include -I/usr/local/mysql/include -c mod_auth_mysql.c mod_auth_mysql.c: In function `my_set_string_slot': mod_auth_mysql.c:203: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `safe_mysql_query': mod_auth_mysql.c:405: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:417: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:419: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `mysql_check_group': mod_auth_mysql.c:526: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `mysql_check_auth': mod_auth_mysql.c:589: warning: initialization makes pointer from integer without a cast mod_auth_mysql.c:613: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:619: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:631: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:633: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:635: warning: assignment makes pointer from integer without a cast gcc -shared -o mod_auth_mysql.so mod_auth_mysql.o -L/usr/local/mysql/lib -lmysqlclient -lm [root@localhost mod_auth_mysql-2.20]# /usr/local/apache/bin/apxs -i -a mod_auth_mysql.so [activating module `auth_mysql' in /usr/local/apache/conf/httpd.conf] cp mod_auth_mysql.so /usr/local/apache/libexec/mod_auth_mysql.so chmod 755 /usr/local/apache/libexec/mod_auth_mysql.so cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak cp /usr/local/apache/conf/httpd.conf.new /usr/local/apache/conf/httpd.conf rm /usr/local/apache/conf/httpd.conf.new [root@localhost conf]# cd ../bin [root@localhost bin]# ./apachectl configtest Syntax error on line 240 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_auth_mysql.so into server: /usr/local/apache/libexec/mod_auth_mysql.so: undefined symbol: uncompress Thanks & Best Regards Huang Hai Subject: Solved: Compiling mod_auth_mysql as DSO... From: Philip Hallstrom Date: Fri, 7 Jan 2000 12:28:43 -0800 (PST) Hi all - I saw a lot of threads on here regarding getting mod_auth_mysql (Zeev's version) to compile as a DSO. I had problems getting mine to work and finally got it to work (at least apache will start up with it and /server-status works, etc. -- haven't actually tested it). This is on FreeBSD 3.4. This is what I did (commands have been wrapped so it's readable): - Installed apache (1.3.9 with all dso stuff) in /local/www/apache. - Installed mysql (3.22.29) in /local/db/mysql. cd mod_auth_mysql-2.20 ./configure --with-apxs=/local/www/apache/bin/apxs --with-mysql=/local/db/mysql mv config.h auth_mysql_config.h
Compiling mod_auth_mysql as DSO...
Dear sir, Please help and drop me a email.([EMAIL PROTECTED]) I have Apache 1.3.17, MySQL 3.23.30 install on a Sparc Solaris 8 and Apache 1.3.20, MySQL 3.23.40 installed on a Interl RedHat Linux 7.1, I got mod_auth_mysql-2.20 and following below instruction to compile and failed on both platforms, Below is the message when I run on the RH linux, [root@localhost mod_auth_mysql-2.20]# ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-mysql=/usr/local/mysql creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for crypt.h... yes checking for crypt... no checking for crypt in -lc... no checking for crypt in -lcrypt... yes checking for standard DES crypt... yes checking for extended DES crypt... yes checking for MD5 crypt... yes checking for Blowfish crypt... yes checking for Apache module support via DSO through APXS... yes checking for Apache module support via DSO through APACI... no checking for MySQL directory... /usr/local/mysql updating cache ./config.cache creating ./config.status creating Makefile creating libauth_mysql.module creating config.h config.h is unchanged Please run 'make' [root@localhost mod_auth_mysql-2.20]# /usr/local/apache/bin/apxs -I . -I /usr/local/apache/include \ > -I /usr/local/mysql/include -L /usr/local/mysql/lib \ > -lmysqlclient -lm -c mod_auth_mysql.c gcc -DLINUX=22 -I/usr/include/db1 -I/root/php-4.0.6 -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend -I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include -I. -I/usr/local/apache/include -I/usr/local/mysql/include -c mod_auth_mysql.c mod_auth_mysql.c: In function `my_set_string_slot': mod_auth_mysql.c:203: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `safe_mysql_query': mod_auth_mysql.c:405: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:417: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:419: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `mysql_check_group': mod_auth_mysql.c:526: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c: In function `mysql_check_auth': mod_auth_mysql.c:589: warning: initialization makes pointer from integer without a cast mod_auth_mysql.c:613: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:619: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:631: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:633: warning: assignment makes pointer from integer without a cast mod_auth_mysql.c:635: warning: assignment makes pointer from integer without a cast gcc -shared -o mod_auth_mysql.so mod_auth_mysql.o -L/usr/local/mysql/lib -lmysqlclient -lm [root@localhost mod_auth_mysql-2.20]# /usr/local/apache/bin/apxs -i -a mod_auth_mysql.so [activating module `auth_mysql' in /usr/local/apache/conf/httpd.conf] cp mod_auth_mysql.so /usr/local/apache/libexec/mod_auth_mysql.so chmod 755 /usr/local/apache/libexec/mod_auth_mysql.so cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak cp /usr/local/apache/conf/httpd.conf.new /usr/local/apache/conf/httpd.conf rm /usr/local/apache/conf/httpd.conf.new [root@localhost conf]# cd ../bin [root@localhost bin]# ./apachectl configtest Syntax error on line 240 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_auth_mysql.so into server: /usr/local/apache/libexec/mod_auth_mysql.so: undefined symbol: uncompress Thanks & Best Regards Huang Hai Subject: Solved: Compiling mod_auth_mysql as DSO... From: Philip Hallstrom Date: Fri, 7 Jan 2000 12:28:43 -0800 (PST) Hi all - I saw a lot of threads on here regarding getting mod_auth_mysql (Zeev's version) to compile as a DSO. I had problems getting mine to work and finally got it to work (at least apache will start up with it and /server-status works, etc. -- haven't actually tested it). This is on FreeBSD 3.4. This is what I did (commands have been wrapped so it's readable): - Installed apache (1.3.9 with all dso stuff) in /local/www/apache. - Installed mysql (3.22.29) in /local/db/mysql. cd mod_auth_mysql-2.20 ./configure --with-apxs=/local/www/apache/bin/apxs --with-mysql=/local/db/mysql mv config.h auth_mysql_config.h
Fix for Apache, DSO'd mod_auth_mysql-2.20
After much searching the net trying to find a solution to the problem of not being able to get mod_auth_mysql-2.20 to work as a DSO in Apache 1.3.x (the problem being, on server start, "Cannot load /usr/local/apache/libexec/mod_auth_mysql.so into server: /usr/local/apache/libexec/mod_auth_mysql.so: undefined symbol: register_cleanup") I decided to try and hack mod_auth_mysql.c for myself. The resulting code, which works for me - YMMV - is available, together with basic instructions, here: <http://web.oyvax.com/cgi-bin/fix/showpost.pl?Board=facts&Number=12> I hope this saves someone from the repeated head-wall interfacing I suffered :-) Note: I am not a C programmer, so anyone in possession of a clue might want to take a look at the new code (<http://web.oyvax.com/src/mod_auth_mysql-2.20a.tar.gz>) and compare it to the old (<http://www.mysql.com/Downloads/Contrib/mod_auth_mysql-2.20.tar.gz>) before they install it on a production system. S. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
RE: MOD_AUTH_MYSQL
I think they move to sourceforge.com -Original Message- From: jason [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 6:50 PM To: [EMAIL PROTECTED] Subject: MOD_AUTH_MYSQL Is there anyone out there who knows where I can get support with this mod for apache? The web page listed in the package seems to be invalid and I can't seem to locate any support lists on the apache side of things. Actually any help at all on how to make this install or any other method out there to have apache authenticate against a mysql user database would be great. Here is what I have done so far: Downloaded mod_auth_mysql_2.20 from ftp.mysql.com. Noted that all links on the web page were broke so I just went on the ftp anonymous and started digging until I found it. I ran configure script with flag to point to source for apache which was not where the script expected. I then attempted to Make but it told me to run configure script on apache with --activate-module=/src/modules/auth_mysql/libauth_mysql.a then run make again. I get an error that states that it doesnt know how to make ../../alloc.h. I am unable to find this file in the folder it is looking in but do find it (or one with same name) in /usr/local/include/G++/ If I copy this file over to where make is expecting it then the apache make works but I still get the same message when I try to make mod_auth_mysql Whatever you can do to assist is greatly appreaciated. I am at a complete standstill until I can find a way to make mysql and apache work together. At present I am using htaccess files but I have no way to secure certain files by user name without having the user enter a password everytime they request a certain change. Thanks Jason Cribbins - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php smime.p7s
MOD_AUTH_MYSQL
Is there anyone out there who knows where I can get support with this mod for apache? The web page listed in the package seems to be invalid and I can't seem to locate any support lists on the apache side of things. Actually any help at all on how to make this install or any other method out there to have apache authenticate against a mysql user database would be great. Here is what I have done so far: Downloaded mod_auth_mysql_2.20 from ftp.mysql.com. Noted that all links on the web page were broke so I just went on the ftp anonymous and started digging until I found it. I ran configure script with flag to point to source for apache which was not where the script expected. I then attempted to Make but it told me to run configure script on apache with --activate-module=/src/modules/auth_mysql/libauth_mysql.a then run make again. I get an error that states that it doesnt know how to make ../../alloc.h. I am unable to find this file in the folder it is looking in but do find it (or one with same name) in /usr/local/include/G++/ If I copy this file over to where make is expecting it then the apache make works but I still get the same message when I try to make mod_auth_mysql Whatever you can do to assist is greatly appreaciated. I am at a complete standstill until I can find a way to make mysql and apache work together. At present I am using htaccess files but I have no way to secure certain files by user name without having the user enter a password everytime they request a certain change. Thanks Jason Cribbins - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
mod_auth_mysql & password trading
Is there a simple way to prevent password trading on an apache system using mod_auth_mysql? I've already got the module installed and working. It would be nice if a directory of flat files could be protected, without having any kind of SSI's, CGI's, etc. anyone ... anyone? -- [Joel-Gwynn]-[[EMAIL PROTECTED]]=== A train station is where a train stops. A bus station is where a bus stops. So now you know why they call this a workstation. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
mod_auth_mysql & password trading
Is there a simple way to prevent password trading on an apache system using mod_auth_mysql? I've already got the module installed and working. It would be nice if a directory of flat files could be protected, without having any kind of SSI's, CGI's, etc. anyone ... anyone? -- [Joel-Gwynn]-[[EMAIL PROTECTED]]=== A train station is where a train stops. A bus station is where a bus stops. So now you know why they call this a workstation. - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Can't Compile mod_auth_mysql
Hi I've been trying to compile mod_auth_mysql for Apache 1.3.19 and MySQL 3.23.33 on AIX 4.1.1. I've given up trying to get it to work as a DSO+APXS using the configure script that comes with mod_auth_mysql. (I seem to end up with a Makefile which calls apxs without any '-c' option anywhere.) So I decided to just compile it into Apache. However, when I try that I encounter a problem with MySQL's dbug.h (see appended output). I'm no programmer and a relative novice at these things. However, I have installed a number of packages, including PHP, Perl, etc without problems. Any help would be greatly appreciated. a very out-of-his-depth finance prof Rob amethyst:[/usr/local/apache] # ./config.status Configuring for Apache, Version 1.3.19 + using installation path layout: Apache (config.layout) + activated auth_mysql module (modules/auth_mysql/libauth_mysql.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for IBM AIX 4.1 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o auth_mysql_module uses ConfigStart/End + using -lld for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/auth_mysql amethyst:[/usr/local/apache] # make ===> src ===> src/regex Target "all" is up to date. <=== src/regex ===> src/os/unix gcc -c -I../../os/unix -I../../include -I/usr/local/mysql/include/mys ql -DAIX=41 -DNEED_RLIM_T -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EX PAT -I../../lib/expat-lite `../../apaci` os.c In file included from /usr/include/xcoff.h:124, from /usr/include/a.out.h:28, from os-aix-dso.c:89, from os.c:22: /usr/local/mysql/include/mysql/dbug.h:38: parse error before `_VARARGS' - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: mod_auth_mysql
>>>>> "JDZ" == Jeremy D Zawodny <[EMAIL PROTECTED]> writes: >> Does anyone know if mod_auth_mysql is still under active >> development, and if so, where can I find current information on it? JDZ> Which one? JDZ> There appear to be two. Go here and search for "mysql" JDZ> http://modules.apache.org/ My version is still maintained, but since there have been no major problems with it in a looong time, there is really nothing to change in it. :-) Try my version, I'm sure you'll find it works just fine. The only note I have to add is that if you also use php4 with mysql built-in, then absolutely make sure that php is built to use the system mysql library and not its own copy. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera Communications, Inc. Internet: [EMAIL PROTECTED] Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: mod_auth_mysql
On Mon, Feb 26, 2001 at 06:23:29PM -0500, Peter R. Wood - Mailing Lists wrote: > Hi all, > > Does anyone know if mod_auth_mysql is still under active > development, and if so, where can I find current information on it? Which one? There appear to be two. Go here and search for "mysql" http://modules.apache.org/ > I have searched the list archives here and indeed turned up 254 > instances of people having problems with mod_auth_mysql. Yeah, it's been pretty common. If nobody *IS* maintaining it, you could always take it over. :-) Jeremy -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 328-7878Fax: (408) 530-5454 Cell: (408) 439-9951 - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
mod_auth_mysql
Hi all, Does anyone know if mod_auth_mysql is still under active development, and if so, where can I find current information on it? I have searched the list archives here and indeed turned up 254 instances of people having problems with mod_auth_mysql. From the sounds of it, it doesn't look like an easily solved problem. Is there a better alternative to get MySQL authentication with Apache? I have looked at several HOWTOs on compiling apache with mod_auth_mysql, but none have yielded good results. I used the file http://www.mysql.com/Downloads/Contrib/mod_auth_mysql-2.20.tar.gz in the MySQL contribs, but this did not compile. I'm trying to compile it with Apache 1.3.17 and MySQL 3.23.33. Any suggestions as to a better/more current method, or a working method to build this module would be appreciated. Thanks! Peter - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Apache 1.3.17 and mod_auth_mysql problem.
As far as my understanding at this point, mod_auth_mysql 2.20 is no longer being developed by the original author. I have modified the source code and configure options of mod_auth_mysql 2.20 to make it work with Apache 1.3.x (it was developed for 1.2.x) as well as am testing a version optimized for mysql 3.23.x. I can make this updated version available to you on request if you need it now - or if all goes well in my testing, I will post the new updated module to the Apache module registry at the end of the month. Erik Tjernlund <[EMAIL PROTECTED]> wrote: Am I the only one with problems with mod_auth_mysql? When trying to install Apache 1.3.17 with mod_auth_mysql 2.20 the compilation of apache fails. This seems to be because mod_auth_mysql wants to use alloc (from apache), but its name has changed to ap_alloc. I just changed alloc.h to ap_alloc.h in the mod_auth_mysql Makefile. Not sure if this is ok, but then apache compiles without trouble... Fine and dandy. Until I try to access a page under the webserver that uses the mod_auth_mysql module. Then the forked apache child dies with segmentation fault: [Sat Feb 17 16:52:59 2001] [notice] Apache/1.3.17 (Unix) AuthMySQL/2.20 PHP/4.0.4pl1 configured -- resuming normal operations [Sat Feb 17 16:54:45 2001] [notice] child pid 11745 exit signal Segmentation fault (11) Does anybody know if the mod_auth_mysql module still is developed actively? It seems that no new version has been released in years. Are there any other (maybe better) authentication modules for apache and mysql? Regards, Erik Tjernlund Stockholm, Sweden - mailto:[EMAIL PROTECTED] | http://erik.tjernlund.net "I was so much older then. I'm younger than that now" - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Apache 1.3.17 and mod_auth_mysql problem.
try mod_auth_mda or some generic auth module which allows authrization via any script. However, i am happily using mod_auth_mysql with 1.3.14, however i build from the port on mysql with some magic envolved. However, i didn't try to build it with 1.3.17 - Original Message - From: "Erik Tjernlund" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 17, 2001 7:10 PM Subject: Apache 1.3.17 and mod_auth_mysql problem. > Am I the only one with problems with mod_auth_mysql? > > When trying to install Apache 1.3.17 with mod_auth_mysql 2.20 > the compilation of apache fails. This seems to be because > mod_auth_mysql wants to use alloc (from apache), but > its name has changed to ap_alloc. > > I just changed alloc.h to ap_alloc.h in the mod_auth_mysql > Makefile. Not sure if this is ok, but then apache compiles > without trouble... > > Fine and dandy. Until I try to access a page under the > webserver that uses the mod_auth_mysql module. Then the > forked apache child dies with segmentation fault: > > [Sat Feb 17 16:52:59 2001] [notice] Apache/1.3.17 (Unix) AuthMySQL/2.20 > PHP/4.0.4pl1 configured -- resuming normal operations > [Sat Feb 17 16:54:45 2001] [notice] child pid 11745 exit signal > Segmentation fault (11) > > Does anybody know if the mod_auth_mysql module still is > developed actively? It seems that no new version has been > released in years. > > Are there any other (maybe better) authentication modules > for apache and mysql? > > > > Regards, > Erik Tjernlund > Stockholm, Sweden > > - > mailto:[EMAIL PROTECTED] | http://erik.tjernlund.net > "I was so much older then. I'm younger than that now" > > > - > Before posting, please check: >http://www.mysql.com/manual.php (the manual) >http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Apache 1.3.17 and mod_auth_mysql problem.
Am I the only one with problems with mod_auth_mysql? When trying to install Apache 1.3.17 with mod_auth_mysql 2.20 the compilation of apache fails. This seems to be because mod_auth_mysql wants to use alloc (from apache), but its name has changed to ap_alloc. I just changed alloc.h to ap_alloc.h in the mod_auth_mysql Makefile. Not sure if this is ok, but then apache compiles without trouble... Fine and dandy. Until I try to access a page under the webserver that uses the mod_auth_mysql module. Then the forked apache child dies with segmentation fault: [Sat Feb 17 16:52:59 2001] [notice] Apache/1.3.17 (Unix) AuthMySQL/2.20 PHP/4.0.4pl1 configured -- resuming normal operations [Sat Feb 17 16:54:45 2001] [notice] child pid 11745 exit signal Segmentation fault (11) Does anybody know if the mod_auth_mysql module still is developed actively? It seems that no new version has been released in years. Are there any other (maybe better) authentication modules for apache and mysql? Regards, Erik Tjernlund Stockholm, Sweden - mailto:[EMAIL PROTECTED] | http://erik.tjernlund.net "I was so much older then. I'm younger than that now" - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php