[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: Allow Access Based On Directory Selected
From: "James Bankston" <JBankston () ajc ! com>
Date: 2002-01-31 15:16:37
[Download RAW message or body]
What I would like to do is allow users access based on the directory
selected. All other directories a username and password will be require
The cgi-lawson directory is password protected. I can set this up with the
following and it works using client based address. The 0.0.0.0.0 works
fine with my ip-address. What I want to do is based on the two links below
I want to allow users selecting link a will not be prompted for a password
user from link b: select a password. The only thing they will not be links
on another website. The user will be keying this URL in there browser not
selecting it from a website.
Link a: http://www.xyz.com/directory/index.html ( access allowed )
Link b: http://www.xyz.com/payroll/index.html (access denied)
<Directory "/opt/apache/cgi-lawson">
AllowOverride AuthConfig
AuthUserfile /opt/apache/userdb/lawson
AuthType Basic
AuthName "Lawson Web Desktop"
Options None
require valid user
deny from all
allow from 0.0.0.0.0
satisfy any
</Directory>
Latest Atlanta News and Sports: http://www.ajc.com
Get The Atlanta Journal-Constitution delivered!
http://www.ajc.com/subscribe
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic