You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike -- EMAIL IGNORED <m_...@yahoo.com> on 2008/09/02 16:36:42 UTC
[users@httpd] block inherited user?
In the httpd.conf fragment below, I want jack and
jane to have access to base, but only jack to
have access to child. However, I find that
jane has access to child How can i block this?
Thanks for your help,
Mike.
btw:
$ rpm -q httpd
httpd-2.2.4-4.1.fc7
<Directory "/var/www/html/www/base">
Options -All SymLinksIfOwnerMatch ExecCGI
AllowOverride None
AuthType Basic
AuthName Private
AuthUserFile /var/www/passwd/.htpasswd
Require user jack jane
RewriteEngine on
RewriteCond %{REQUEST_URI} ^.*/base/.*$
RewriteRule ^.*\.html.*(\?.*)?$ ./index.cgi$1 [L]
RewriteCond %{REQUEST_URI} ^.*/base/.*$
RewriteRule ^/.*/$ ./index.cgi
</Directory>
<Directory "/var/www/html/www/base/child">
Options -All SymLinksIfOwnerMatch ExecCGI
AllowOverride None
AuthType Basic
AuthName Private
AuthUserFile /var/www/passwd/.htpasswd
Require user jack
RewriteEngine on
RewriteCond %{REQUEST_URI} ^.*/base/.*$
RewriteRule ^.*\.html.*(\?.*)?$ ./index.cgi$1 [L]
RewriteCond %{REQUEST_URI} ^.*/base/.*$
RewriteRule ^/.*/$ ./index.cgi
</Directory>
---------------------------------------------------------------------
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
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org