You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Tshering NORBU, DrukNet" <bo...@druknet.bt> on 2002/11/15 07:30:46 UTC

[users@httpd] disallow directory browsing

Hello list,
I have never been able to disallow directory browsing on 
my web site. I am using apache 2. 
Could anyone tell me specifically where in httpd.conf file 
I need to set the disallow.

Thanks heaps,
NOBBY
+++++++++++++++++++++++++++++++++++++++++++++++++++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt    

---------------------------------------------------------------------
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] disallow directory browsing

Posted by Simon Dassow <ja...@area319.de>.
Watch out for: Options -Indexes :)

simon

On Fri, 2002-11-15 at 07:30, Tshering NORBU, DrukNet wrote:
> Hello list,
> I have never been able to disallow directory browsing on 
> my web site. I am using apache 2. 
> Could anyone tell me specifically where in httpd.conf file 
> I need to set the disallow.
> 
> Thanks heaps,
> NOBBY
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> Get a free DrukNet e-mail account and stay in touch
> http://www.druknet.bt    
> 
> ---------------------------------------------------------------------
> 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] disallow directory browsing

Posted by "Tshering NORBU, DrukNet" <bo...@druknet.bt>.
HurrahhHH !!! Lewis!

Done! Great! Thanks.

NOBBY

On Fri, 15 Nov 2002 00:38:13 -0600
  "Lewis Watson" <li...@visionsix.com> wrote:
>
>----- Original Message ----- 
>From: "Tshering NORBU, DrukNet" <bo...@druknet.bt>
>To: <us...@httpd.apache.org>
>Sent: Friday, November 15, 2002 12:30 AM
>Subject: [users@httpd] disallow directory browsing
>
>
>> Hello list,
>> I have never been able to disallow directory browsing on 
>> my web site. I am using apache 2. 
>> Could anyone tell me specifically where in httpd.conf 
>>file 
>> I need to set the disallow.
>> 
>> Thanks heaps,
>> NOBBY
>
>
>Hi NOBBY,
>Look for
><Directory "some/directory">
>     Options Indexes     <--------------REMOVE INDEXES
>     AllowOverride None
>     Order allow,deny
>     Allow from all  
></Directory>
>As shown above, remove Indexes.
>hth,
>Lewis
>
>
>
>---------------------------------------------------------------------
>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
>

+++++++++++++++++++++++++++++++++++++++++++++++++++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt    

---------------------------------------------------------------------
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] disallow directory browsing

Posted by Lewis Watson <li...@visionsix.com>.
----- Original Message ----- 
From: "Tshering NORBU, DrukNet" <bo...@druknet.bt>
To: <us...@httpd.apache.org>
Sent: Friday, November 15, 2002 12:30 AM
Subject: [users@httpd] disallow directory browsing


> Hello list,
> I have never been able to disallow directory browsing on 
> my web site. I am using apache 2. 
> Could anyone tell me specifically where in httpd.conf file 
> I need to set the disallow.
> 
> Thanks heaps,
> NOBBY


Hi NOBBY,
Look for
<Directory "some/directory">
    Options Indexes     <--------------REMOVE INDEXES
    AllowOverride None
    Order allow,deny
    Allow from all  
</Directory>
As shown above, remove Indexes.
hth,
Lewis



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