By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

Auto Authenticate Special User

P: n/a

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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.