469,270 Members | 1,056 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,270 developers. It's quick & easy.

Auto Authenticate Special User


hi all,

I wonder if its possible in Apache authentication scheme, to have a
special user that will be authenticated without password in interanl
network, while other users still have to follow the regular policy.

I've tried to use "satisfy any/all" in .htaccess file.

AuthName "Me Only"
AuthType Basic
AuthUserFile /xxxxx/.Passwd
AuthGroupFile /xxxxx/.group
#Require user Me
Require group vip
Allow from mylocal.xxxxx.com
satisfy any

With "satisfy all", user is authenticated and $ENV{USER} is available,
but when "satisfy any", this user automaticlly authenticated but
$ENV{USER} is empty.

How can I get the user auto authenticated while $ENV{USER} is set correctly?
cheers,
sheng

Jul 20 '05 #1
0 1140

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Manlio Perillo | last post: by
reply views Thread by Renato Neves | last post: by
1 post views Thread by EricRybarczyk | last post: by
1 post views Thread by fomalhaut | last post: by
4 posts views Thread by Jon | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.