[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RAQ3 how do you disallow index viewing?
- Subject: Re: [cobalt-users] RAQ3 how do you disallow index viewing?
- From: "Wheaton Consulting Group" <brandon@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat Dec 1 12:57:22 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
From: "Ray Smith" <ray@xxxxxxxxxxxxx>
To: "Cobalt users list" <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, December 01, 2001 11:17 AM
Subject: [cobalt-users] RAQ3 how do you disallow index viewing?
> Hi,
>
> New Apache user here. Trying to escape from the gravitational pull of my MS
> IIS systems so any help appreciated :)
>
> I'd like to disallow viewing of indexing so that when someone enters
> http://www.website.com/dir1/ they do not see the index of the files.
>
> I'm looking at my shiny new "Linux Apache Web Server Admininstration" book
> and it looks like I have to update IndexOptions but when I look at the
> httpd.conf on my raq3 I don't see anything about indexing except for the
> foillowing line that lists names of files to use as root default display
> files:
>
You can do this two ways. If you don't want the public to have any
access to items in a particular directory you can simply change the
permissions on the directory to 700. If you just want to keep prying
eyes from getting a directory listing simply create an index.html file
and make the text read something like "Directory Listing Denied"
or "You looka my server, I breaka you face". Either way you get
the idea.
Take care.
Brandon Wheaton
Wheaton Consulting Group