View Single Post
Old 03-05-2004, 11:51   #5
Peter_Stanley
Inactive
 
Join Date: Jul 2003
Location: Reading
Services: NTL 1Mb, NTL 250 modem & Linksys router, Sky & BT
Posts: 45
Peter_Stanley is an unknown quantity at this point
Re: How do I stop people browsing in my webspace directories?

Quote:
Originally Posted by TimmyB
The simple answer to the directory browsing issue is to put an index.html file in each directory.
Thanks, that works a treat.

Matuka - with a Index.html file in each directory, configured to provide a holding page (in my case a blank page with an "under construction" logo), any attempt to look at the directory results in the holding page being displayed.

I suppose, alternatively, you could put a page that uses "onload" to kick the browser back to the home page.
Peter_Stanley is offline   Reply With Quote