> -----Original Message----- > From: Halid Faith [mailto:maslak@xxxxxxxxxxxx] > Sent: Thursday, January 11, 2007 11:27 AM > To: users@xxxxxxxxxxxxxxxx > Subject: How to disable directory listing > option for a domain? > > I use apache-2.0.55. > When I add a web page directory to my webserver for publishing if the > directory doesn't contain index.html etc.. I see the files > in the directory > on the web. > > How to disable directory browsing ? Start by looking at the Options directive: http://httpd.apache.org/docs/2.0/mod/core.html#options You probably want "Options -Indexes" but read carefully the section on how multiple Options directives are merged so you don't get any side-effects... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Thanks > > > > > --------------------------------------------------------------------- > 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx