This is a discussion on Re: Turn off Directory Browsing / Indexing within the Apache Web Server forums, part of the Web Server and Related Forums category; On Thu, 10 Jul 2003 16:23:19 GMT, The Other Guy responded to a post from "Tom Celica&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thu, 10 Jul 2003 16:23:19 GMT, The Other Guy responded to a post
from "Tom Celica" <jhonda@juno.com> who wrote in alt.apache.configuration: >RH 9.0 >Apache 2.0.x > >I would like to turn off the ability of the general public to come to my web >site and browse my directories. I know that putting a index.html inside >each subdirectory will solve this but isn't there a configuration option to >turn off directory browsing / indexing? > >What is the command to turn off Directory Browsing / Indexing (and where do >I put it) > >-Thanks >-Tom In the appropriate directory container(s), add or modify: Options -Indexes See http://httpd.apache.org/docs-2.0/mod/core.html#options The result should be an "error" page delivered to the client when they view a directory. -- ../configure --prefix=~/zyterion Not this guy or that guy, The Other Guy. This spot may contain a satirical comment or comedic source, and is meant to be funny. If you are easily offended, gullible or don't have a sense of humour we suggest you read elsewhere. |
|
|||
|
Thanks!
"The Other Guy" <nospam@this.addy> wrote in message news:d35rgvkqqh38d829uj4luta85415ksjqm9@4ax.com... > On Thu, 10 Jul 2003 16:23:19 GMT, The Other Guy responded to a post > from "Tom Celica" <jhonda@juno.com> who wrote in > alt.apache.configuration: > > >RH 9.0 > >Apache 2.0.x > > > >I would like to turn off the ability of the general public to come to my web > >site and browse my directories. I know that putting a index.html inside > >each subdirectory will solve this but isn't there a configuration option to > >turn off directory browsing / indexing? > > > >What is the command to turn off Directory Browsing / Indexing (and where do > >I put it) > > > >-Thanks > >-Tom > > > In the appropriate directory container(s), add or modify: > > Options -Indexes > > See http://httpd.apache.org/docs-2.0/mod/core.html#options > > The result should be an "error" page delivered to the client when they > view a directory. > > -- > ./configure --prefix=~/zyterion > Not this guy or that guy, The Other Guy. > > This spot may contain a satirical comment or comedic source, > and is meant to be funny. If you are easily offended, gullible > or don't have a sense of humour we suggest you read elsewhere. |