GIVEN IIS 8.5.9500.16384 SETUP:
- static files only ... minimal installation
- directory listing is NOT installed, thus not enabled
- redirection is NOT installed, thus not enabled
- the only default directory page is “index.html”.
SITE: http://<some-domain>/
Has an index.html AND returns that page
http://<some-domain>/dir1/
Has nothing in it AND returns an empty page WITH 301 status.
Given my IIS SETUP of NO directory listing, I would like it to return error 404.
QUESTIONS:
1) Is there a setting in IIS to manage this behavior, and what is its name or reference?
if answer to above is NONE:
2) How can I make IIS return an error 404 upon a directory hit with no default document?
if answer to above is CANNOT:
3) How can I redirect this particular empty page (301 status) to a default page of my choosing.
Thanks