Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [TRPN] add blank index page

Quote Reply
Re: [TRPN] add blank index page In reply to
You should use an .htaccess file to turn directory indexing _off_

That _should_ be the default for websites. It's a real security problem with it _on_. That's a throwback to the simpler days, when people were lazy, and wanted the webserver to do all the work :)

Ask, your ISP about how to turn that off for your account. You'll be _much_ safer with it off.

But, to specifically answer your question, just upload an index.html or index.htm (whatever your system needs) to your directory. It can even be 0 bytes on most systems, but it's nicer if you put a little message on it to direct people back to your home page.

Again, I _STRONGLY_ suggest anyone running a webserver, or with a home page, or anything, to make sure directory indexes are turned _off_! It's a major security hole if you forget to have an index.html file in every directory otherwise.

(I realize some people may disagree with me, and I really would like to hear why!! <G> Automatic directory indexing should be reserved for precious few directories, and if you are really lazy, or need dynamic indexing, then turn it on for that specific directory, and you'll at least _know_ where your security holes are!!)




PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread add blank index page VishalT 2374 Jan 5, 2002, 12:58 AM
Thread Re: [TRPN] add blank index page
pugdog 2282 Jan 5, 2002, 2:27 AM
Thread Re: [pugdog] add blank index page
VishalT 2284 Jan 5, 2002, 4:59 AM
Post Re: [TRPN] add blank index page
Paul 2282 Jan 5, 2002, 5:17 AM
Post Re: [TRPN] add blank index page
VishalT 2288 Jan 5, 2002, 5:19 AM