httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <dan...@rawbyte.com>
Subject Re: RES: RES: Directory Standart Rule
Date Wed, 06 Mar 2002 18:14:57 GMT

Yes, that should work :) have a look at <directory> section documentation
for some examples, you can use ? * [A-Z]. If you need to match more complex
patterns you can use <DirectoryMatch> which allows for regular expressions

Cheers

Daniel

> Sorry, my fault.
> Now, just that (and believe: i have thinking about the * !) will works?
> 
> Thank you again!
> 
> -----Mensagem original-----
> De: Daniel Lopez [mailto:daniel@rawbyte.com]
> Enviada em: quarta-feira, 6 de março de 2002 15:06
> Para: users@httpd.apache.org
> Assunto: Re: RES: Directory Standart Rule
> 
> 
> 
> You should have included that in your original post then :)
> Directory sections allow wildcards. You can do the following:
> 
>  <directory /home/httpd/htdocs/*/img>
>      Options -Indexes
>  </directory>
> 
> On Wed, Mar 06, 2002 at 02:39:06PM -0300, Fernando Reuter Wendt wrote:
> > Yes, i know about the <directory> and it works fine, and is exactly the
> > -Indexes i need. But if is there more than 20 'anysistes', i think there
> is
> > some smart configuration to make this, because if the solution is to write
> > the 20´s <directory -Indexes> - and more - doesn´t seems to make sense at
> > that case.
> > 
> > Thank you.
> > 
> > -----Mensagem original-----
> > De: Daniel Lopez [mailto:daniel@rawbyte.com]
> > Enviada em: quarta-feira, 6 de março de 2002 14:48
> > Para: users@httpd.apache.org
> > Assunto: Re: Directory Standart Rule
> > 
> > 
> > 
> > If what you are trying to accomplish is that no one can browse that
> > directory
> > and get a directory listing with all the images there, you can do the
> > following:
> > 
> > <directory /home/httpd/htdocs/anysite/img>
> >     Options -Indexes
> > </directory>
> > 
> > 
> > On Wed, Mar 06, 2002 at 02:01:51PM -0300, Fernando Reuter Wendt wrote:
> > > Hello,
> > > 
> > > What should I do to any sub-directory called 'img' from any
> > > /home/httpd/htdocs/anysite/, which will works at www.domain.com/anysite
> ,
> > > doesn´t enable direct access via browser? I mean, no one may be able to
> > > point www.domain.com/anysite/img with success, sending him a
> ErrorDocument
> > > 403 message. Some doc related, looks pretty good.
> > > 
> > > Thanks
> > > 
> > > +-------------------------
> > >  Fernando A. R. Wendt
> > >  Webmaster UNIJUÍ
> > >  http://www.unijui.tche.br
> > > -------------------------+
> > >  
> > > 
> > > ---------------------------------------------------------------------
> > > 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
> > > 
> > 
> > ---------------------------------------------------------------------
> > 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
> > 
> > ---------------------------------------------------------------------
> > 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
> > 
> 
> ---------------------------------------------------------------------
> 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
> 
> ---------------------------------------------------------------------
> 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
> 

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


Mime
View raw message