Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

mod_auth_mysql on debian etch

 
   Soft32 Home -> Linux -> Setup RSS
Next:  Running strace early in the boot process - gettin..  
Author Message
John Taylor

External


Since: Feb 07, 2007
Posts: 9



(Msg. 1) Posted: Thu Mar 26, 2009 5:20 am
Post subject: mod_auth_mysql on debian etch
Archived from groups: comp>os>linux>setup (more info?)

Has anyone got mod_auth_mysql working on debian etch ?

It seems the the debian guys missed it out when they built etch, so I
have found a deb at:

http://packages.kirya.net/debian/pool/main/m/mod-auth-mysql/

and installed that, and setup apache to use it.

However, when I try to access the protected directory, I get refused
access, and the apache logs show a name not found error.

I've checked the mysql logs (I have general logging switched on for
debugging, so I can see any access) and it appears that it is not even
attempting to access the database.

Does anyone have any ideas ?
Back to top
Login to vote
John Taylor

External


Since: Feb 07, 2007
Posts: 9



(Msg. 2) Posted: Thu Mar 26, 2009 5:20 am
Post subject: Re: mod_auth_mysql on debian etch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 26 Mar 2009 08:34:01 +0000, John Taylor wrote:

> Has anyone got mod_auth_mysql working on debian etch ?
>
> It seems the the debian guys missed it out when they built etch, so I
> have found a deb at:
>
> http://packages.kirya.net/debian/pool/main/m/mod-auth-mysql/
>
> and installed that, and setup apache to use it.
>
> However, when I try to access the protected directory, I get refused
> access, and the apache logs show a name not found error.
>
> I've checked the mysql logs (I have general logging switched on for
> debugging, so I can see any access) and it appears that it is not even
> attempting to access the database.
>
> Does anyone have any ideas ?

Figured it out myself needed to add an extra line to apache config

AuthBasicAuthoritative Off

Now have:


<Location /protected>
AuthName "xxxxx"
AuthBasicAuthoritative Off
AuthMySQL on
AuthType Basic
AuthUserFile /dev/null

AuthMySQL_Authoritative on
AuthMySQL_Host localhost
AuthMySQL_User xxxxxxx
AuthMySQL_Password xxxxxxxxx
AuthMySQL_DB xxxxxxx
AuthMySQL_Password_Table xxxxxxx
AuthMySQL_Group_Table xxxxxxx
AuthMySQL_Username_Field xxxxxxx
AuthMySQL_Password_Field xxxxxxxxx
AuthMySQL_Group_Field xxxxxxxx
AuthMySQL_Group_User_Field xxxxxxx
AuthMySQL_Empty_Passwords Off
AuthMySQL_Encryption_Types PHP_MD5
AuthMySQL_Persistent on
#AuthMySQL_Allow_Override off
require group xxxxxxxxxx
</Location>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Using VMWare to boot linux patition. - Hi, I regularly switch between winxp pro and mandrake 10.2. Lately this has become a bit of a pain so I looked into..

Problems with fonts rendering under ubuntu feisty ?! - hello my laptop mount an ATI mobility radeon 9700 , my screen resolution is 1280x800 I trying to set the correct..

The out-of-memory killer. - What can a process do to insure that it is the process which dies when the system runs out of memory. (This is as..

Debian Etch .... - I noticed that I got Debian Etch today when I did a dist-upgrade. That is always nice - a few weird failures, etc -..

debian-etch and ssh disconnects - I just installed debian-etch to a slug so I can use it for development. It has the peculiar habit of disconnecting my....

GIT Packages for Debian Etch - Hello, a friend of mine always builds the Debian Packages from unstable for Debian Etch. I have on all my machines the....
       Soft32 Home -> Linux -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]