You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Scott Wilcox <sc...@x0f.org> on 2007/05/29 23:59:19 UTC
[users@httpd] Access Question
hey folks.
If I have the root of a virtual protected with:
<VirtualHost *:80>
DocumentRoot /path/to/dir
ServerName bob
<Directory "/path/to/dir">
AuthType Basic
AuthName "Network Services"
AuthBasicProvider file
AuthUserFile /path/to/file
Require valid-user
AllowOverride All
Options Indexes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
and this works fine. The thing is, I have a directory inside this path,
called "data" which I need to allow all users access too. Is this
possible, and if so, how can I do it?
Scott.
---------------------------------------------------------------------
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
Re: [users@httpd] Access Question
Posted by Scott Wilcox <sc...@x0f.org>.
thank you muchly. :)
Ricky Zhou wrote:
> Scott Wilcox wrote:
>
>> and this works fine. The thing is, I have a directory inside this path,
>> called "data" which I need to allow all users access too. Is this
>> possible, and if so, how can I do it?
>>
> <Directory "/path/to/dir/data">
> Allow from all
> Satisfy Any
> </Directory>
>
> (See http://httpd.apache.org/docs/2.2/mod/core.html#satisfy)
>
> Hope this helps,
> Ricky
>
>
Re: [users@httpd] Access Question
Posted by Ricky Zhou <ri...@gmail.com>.
Scott Wilcox wrote:
> and this works fine. The thing is, I have a directory inside this path,
> called "data" which I need to allow all users access too. Is this
> possible, and if so, how can I do it?
<Directory "/path/to/dir/data">
Allow from all
Satisfy Any
</Directory>
(See http://httpd.apache.org/docs/2.2/mod/core.html#satisfy)
Hope this helps,
Ricky