You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Bankston <JB...@ajc.com> on 2002/02/01 17:17:01 UTC
SetEnvIf
Could someone tell me why this does not work. User coming from this link
are still being prompted for a password.
SetEnvIf Referer ^http://169.137.5.230/index.html access_allowed
<Directory "/opt/apache/cgi-lawson">
AllowOverride AuthConfig
AuthUserfile /opt/apache/userdb/lawson
AuthType Basic
AuthName "Lawson Web Desktop"
Options None
require valid-user
order deny,allow
deny from all
allow from env=access_allowed
satisfy any
</Directory>
Latest Atlanta News and Sports: http://www.ajc.com
Get The Atlanta Journal-Constitution delivered!
http://www.ajc.com/subscribe
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: SetEnvIf
Posted by Joshua Slive <jo...@slive.ca>.
> From: James Bankston [mailto:JBankston@ajc.com]
> Could someone tell me why this does not work. User coming from this link
> are still being prompted for a password.
>
> SetEnvIf Referer ^http://169.137.5.230/index.html access_allowed
>
>
> <Directory "/opt/apache/cgi-lawson">
> AllowOverride AuthConfig
> AuthUserfile /opt/apache/userdb/lawson
> AuthType Basic
> AuthName "Lawson Web Desktop"
> Options None
> require valid-user
> order deny,allow
> deny from all
> allow from env=access_allowed
> satisfy any
> </Directory>
>
Can you show us the relevant error and access log lines? Does you get
access you remove the "require valid-user" line?
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org