You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Fernando Reuter Wendt <fe...@admijui.unijui.tche.br> on 2002/03/06 18:01:51 UTC

Directory Standart Rule

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


Re: Directory Standart Rule

Posted by Daniel Lopez <da...@rawbyte.com>.
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