Sure Cor,
1) open any web site on your web server or create a new one. put a text or
simple HTML file in it. I called mine "mynewsite"
2) open the properties for that site in IIS manager. Check "allow directory
browsing". click OK
3) using IE, hit your site, but don't specify any file name.
http://localhost/mynewsite
you will get a list of the files in the site with a link under each
filename. click the link to open the page.
I'm on Windows 2000 here (I'm at home... I have XP and WS2003 at work). I
set this up in about 2 minutes.
--- Nick
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:ux**************@TK2MSFTNGP09.phx.gbl...
Hi Nick,
Can you show me a sample how to do that getting a "List of files in a
directory from a website" with HTTP 1.1
I am as well very interested in that
Cor
For HTTP this should normally absolute be impossible and therefore
made every day more impossible.
If directory browsing is turned on for the site, then this works just
fine. If you look at the RFC for HTTP 1.1, you will see that directory
browsing is a normal and supported use of HTTP. In fact, it was the original use.
Default pages were a later invention.
http://www.w3.org/Protocols/rfc2068/rfc2068
By the way, there is nothing wrong with doing this if all your pages are
simple text or HTML. There are many tens of thousands of older web
sites that still operate this way. This is not a security risk if the site
contains only text (and some still do).
--- Nick