> -----Original Message-----
> From: Jack Stone [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 14. Juni 2005 04:54
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Forbid Directory Listings
> 
> 
> I've just moved to Apache-2.0.54 from Apache-1.33x on FBSD-5.4
> 
> There is one feature that the Apache-1.33 appears to have by 
> default I 
> liked, but is not yet working for me on Apache-2.0x and I 
> have looked at my 
> configs & the archives until my head is exploding for the knob(s).
> 
> The feature in Apache-1.33 wanted:
> If a directory is without an index.htm(or php, etc), the 
> browser will show 
> this error:
> ====================================
> Forbidden
> You don't have permission to access /tmp/ on this server.
> --------------------------------------------------------------
> ------------------
> Apache/1.3.33 Server at www.domain.com Port 80
> ====================================
> 
> Thus, the above prevents browsers to search a directory at 
> will. If one 
> knows the right filename, then that will work and is okay, 
> but I don't want 
> someone seeing an open list of files contained in the directory.


It is an argument to the "Options" directive:

Options -Indexes

will switch off directory indexing (see 
http://httpd.apache.org/docs-2.0/mod/core.html#options for details).

BTW, 1.3 and 2 have the same default (allow indexing) so I don't know why you 
get different behaviour - your configs must differ (or there are additional 
directives in a .htaccess file).

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> 
> Would someone kindly point me in the right direction on how 
> to set this same 
> knob in Apache-2x...??
> 
> Appreciate any help....
> 
> Best regards,
> Jack
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today 
> - it's FREE! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to