Matt
At this point sql auth cannot be controled by the .htaccess file Tod is working on 
that. So 
the control is handled by the config.ini:

SQL AUTH Query = select grp,name,dir,privs,ftpmax from member where username='%N' and 
password='%1' 

Your .htaccess should look something like this:
AuthName "Protected" 
AuthType Basic 
require group member 
AllowOverride none

Regards
Peter

-----Original Message-----
From: "M. Skeoch \(CDS\)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Wed, 4 Sep 2002 23:20:56 -0500
Subject: [sambar] .htaccess & groups... {01}

> I seem to remember us discussing the 'require group' in htaccess using
> SQL auth and I do believe tod fixed it - however, I can't seem to get
> it
> to work. What is the field the htaccess looks for in the database? I
> thought it was 'grp' since that's the example the docs give.
> 
> This is my htaccess entry:
> 
> AuthName " System"
> AuthMethod sqlauth
> require group sys
> 
> I don't know what I am doing wrong :p
> 
> Matt
> -------------------------------------------------------
> To unsubscribe please go to http://www.sambar.ch/list/
> 
> 
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to