Forum Moderators: open

Message Too Old, No Replies

IIS and directory listings in the browser

I want to shut off auto-directory listings

         

calimehtar

6:46 pm on Mar 26, 2003 (gmt 0)

10+ Year Member



I've got a page ending in a folder name (http://example.com/folder/) which has been spidered by a search engine. I want to turn the page into a 404, and attempted to do so by deleting index.htm.

What i got instead was a directory listing of the IIS folder. I'm new to IIS and servers in general, so some tips on what to look for in a google search would be sufficient to get started.

Thanks in advance.

Dreamquick

6:53 pm on Mar 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Select the problem directory in the IIS manager, right click to get the properties. On the directory tab uncheck the "Directory Browsing" option and OK your way back.

Web-based interfaces normally follow a similar route.

- Tony

Receptional Andy

6:55 pm on Mar 26, 2003 (gmt 0)



In the IIS manager go to the properties of your site.

Choose the 'home directory' tab and make sure 'directory browsing' is unchecked. This presents published folders with no index document from listing the contents.

[dreamquick beat me to it ;)]