[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] turn off directory listing in apache
- Subject: Re: [cobalt-users] turn off directory listing in apache
- From: Jason Vaughan <cobaltlist@xxxxxxxxxxx>
- Date: Tue Oct 23 08:52:40 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>For the life of me I can't find out how to do this on apache.org. Some
help?
Help us help you!
What model of Raq do you have?
Paul
One way to do this, is to create a redirect page, called index.html.
It would contain the following html:
<html>
<head>
<meta http-equiv="content-type"
content="text/html;charset=iso-8859-1">
<title>No Listings Here!</title>
<meta http-equiv="refresh" content="0;URL=/index.html">
</head>
<body>
</body>
</html>
Put a copy of this in each directory which does not have an index
page. Anyone going to a directory with out specifying a page will get
redirected back to the root inex.html page. I do seem to remember
seeing a more elaborate fix somewhere in the archives but this is a
simple fix.
Regards,
Jason
--
http://www.cobalt-training.com
Tel:+44 207 610 1010
Fax:+44 207 610 1551