mod_auth_mysql, apache 2.2, windows ( xampp)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

mod_auth_mysql, apache 2.2, windows ( xampp)

Postby PC_Nerd » 31. October 2008 07:45

Hi,

I've spent ages trawling through internet pages about mod_auth_mysql... and have gathered the following...

To get it installed for my apache version ( 2.2.9) I need to compile it myself. However I'm wondering if anyone else out there has compiled it themselves and has the .so file for it.... or if there is a source I can get it from. The standard download that has the .so only has it for the 2.0.x versions i believe so It says that teh .so is "garbled."

Can anyone suggest a method for getting mod_auth_mysql installed on an apache2.2.9 server?

Thanks
PC_Nerd
 
Posts: 5
Joined: 20. January 2008 00:38

Postby Sharley » 31. October 2008 08:18

I've spent ages trawling through internet pages about mod_auth_mysql... and have gathered the following...

Perhaps you should have called in here first. ;)

In your .\xampp\apache\conf\httpd.conf file round about line 132 or so you may see this:
#LoadModule mysql_auth_module modules/mod_auth_mysql.so

Simply uncomment that line so it looks like this:
LoadModule mysql_auth_module modules/mod_auth_mysql.so

You will find the mod_auth_mysql.so file here:
.\xampp\apache\modules\

Always restart Apache after making changes in the httpd.conf file and make a backup before editing in case of typos or you want to revert to the original file.

TIP.
Don't be tempted to uncomment all the modules or you may have drastic issues.
Only uncomment the modules one at a time that you may require then test the module before uncommenting another one.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Postby PC_Nerd » 01. November 2008 14:41

Hi,

For me its line 130 - and I'm aware of having to enable the module. at the moment its commented out - but when its enabled apache ( only when started manually through command line) that hte module is garbled.

Thanks though.

*** Edit: Im running XAMPP 1.6.8 - just updated. ** I also downloaded the .zip of 1.6.8 to see if it had the .so in it and it doesnt come as part of the default installation.
Thanks
PC_Nerd
 
Posts: 5
Joined: 20. January 2008 00:38

Postby Sharley » 01. November 2008 21:58

Having always installed the archive versions of XAMPP from way back (except of course when there is a major upgrade that requires a fresh install) all I do is use the archive upgrade files which just overwrite old files but do not delete deprecated files - so I do have mod_auth_mysql still in place in my 1.6.8 version and thats why I posted the above reply.

So in researching this issue, but with limited time, I noticed that there may be commercial/license issues with this mod, details though are a bit sketchy.


In the XAMPP 1.6.8 readme_en.txt file I noticed this little gem...
(2) To use the experimental version of mod_auth_mysql remove the # in the httpd.conf. Detailed information about this topic can be found on the left menu of XAMPP, once you started it.
...but I am unable to find any detailed topic info in the left menu of the XAMPP page, though it clearly states that it is experimental so there may be issues as you so aptly pointed out.

I have read about there being mod_auth_mysql replacements, but did not have the time to investigate further, I came across and did read all of this article though, which you may also have read, that may or may not help your case.
Apache and MySQL Authentication

Perhaps other forum members may have some experiences and info to share with us - also if you do find an acceptable solution you too may be willing to share it with the community and post it back here.

Good luck with it.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: mod_auth_mysql, apache 2.2, windows ( xampp)

Postby Izzy » 10. January 2009 03:48

Jasin has come up with a compromise for the missing mod_auth_mysql.so module in recent versions of XAMPP.
viewtopic.php?f=16&t=32762
Thanks Jasin.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests