You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Fabricio Luiz Machado <so...@yahoo.com.br> on 2004/08/18 00:36:24 UTC

[users@httpd] Forbidden Directories

Hi there!
I have some applications that are accessed with this URLs:

http://host.domain.com/client01/appname01
http://host.domain.com/client01/appname02
..
http://host.domain.com/client02/appname01
http://host.domain.com/client02/appname02
...
http://host.domain.com/clientN/appnameN
http://host.domain.com/clientN/appnameN


How can I deny the access to directory "client01" and "client02" (with
Forbidden message) and at the same time, allow the access to
subdirectories "appname01" and "appname02" ?

Thanks,

Fabricio.


	
	
		
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/

---------------------------------------------------------------------
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] Forbidden Directories

Posted by Brent 'Dax' Royal-Gordon <br...@gmail.com>.
On Tue, 17 Aug 2004 19:36:24 -0300 (ART), Fabricio Luiz Machado
<so...@yahoo.com.br> wrote:
> How can I deny the access to directory "client01" and "client02" (with
> Forbidden message) and at the same time, allow the access to
> subdirectories "appname01" and "appname02" ?

I believe that using "Satisfy Any" (meaning that access is allowed if
any security criterion matches) followed by "Allow from All" on the
subdirectories will work.  I'm not sure about that, though.

-- 
Brent 'Dax' Royal-Gordon <br...@brentdax.com>
Perl and Parrot hacker

There is no cabal.

---------------------------------------------------------------------
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