Hi Elaine, Many
thanks for the help, I’ve now got: <Directory
/var/www/localhost/htdocs>
AuthName "MailSource UK Intranet Zone, authentication required"
AuthType Basic
AuthMySQLHost
localhost
AuthMySQLEnable on
AuthMySQLUser
xxxxxxx
AuthMySQLPassword xxxxxxx
AuthMySQLDB
auth
AuthMySQLUserTable users
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLGroupTable groups
AuthMySQLGroupField user_group # This next line controls which
group(s) can access the resource
AllowOverride none
Require group user admin
Order allow,deny
Allow from 10.0.0.72
Satisfy Any </Directory> But now anyone can access it,
not just the IUP address I’ve specified! I can’t seem to get
around this all or nothing problem. Can you see anything I’ve
done wrong? Regards, Michael. From: elaine
[mailto:elaine@xxxxxxxxxxxxxxxx] Michael, Hi All,
I’ve got mod_auth_mysql working nicely but I would like the users on my
internal network not to have to enter a username and password, just people
accessing from outside. I’ve tried various solutions using Order deny,allow;
allow from and so forth but with no luck, I end up with everyone being prompted
or no-one. Here’s my unmodified <Directory> command from my
httpd.conf that requires everyone to supply a password, can anyone suggest how
I can modify it to allow access from 10.0.0? <Directory /var/www/localhost/htdocs> AuthName
"authentication required" AuthType Basic
AuthMySQLHost
localhost
AuthMySQLEnable on AuthMySQLUser
xxxxxx
AuthMySQLPassword xxxxxxx
AuthMySQLDB
auth
AuthMySQLUserTable users
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd AuthMySQLGroupTable
groups
AuthMySQLGroupField user_group # This next line controls which group(s) can access the
resource require group
user admin </Directory> Regards, Michael Luff MSc B.Eng (Hons) MIET T: +44 (0)20
8614 7604 MailSource
UK Limited -
Europe's leading specialist in integrated document delivery solutions -
Holders of the RoSPA Health & Safety Gold Medal 2006/2007 Northumberland
House 15
Petersham
Road
Richmond-upon-Thames
Surrey
TW10
6TP
MailSource UK
Limited - Europe's leading
specialist in integrated document delivery solutions - Holders of the
RoSPA Health & Safety Gold Medal 2006/2007 Northumberland House 15 Petersham Road Richmond-upon-Thames Surrey TW10 6TP
|