default document oddity

ColdFusion Add comments

I just upgraded a development server at work and ran into a oddity. In IIS I only have index.cfm listed as the default document. I installed CF7 along side CF6 so it was initially using the default webserver. After it had installed I disconnected CF6 from IIS (Windows 2003 & IIS6) and reconnected it to CF7. Which ever of the virtual domains i visited i got a “Directory Browsing Denied” message. Hmmm…index.cfm exists in the folder, default document at global/site level is set to index.cfm yet it didn’t work. I tried restarting IIS, the server but nothing worked. As a test i added index.htm to the list of default documents, created an index.htm in my site root - hit refresh and there was my site…(index.htm was beneath index.cfm so it did what you’d expect!). I then removed the index.htm reference and restarted IIS and it still worked….very odd - but least it’s working now!

One Response to “default document oddity”

  1. Ethan Cane Says:

    Hi there…

    I have suffered from this also in the past.

    Another option is instead of removing the placeholder default documents you can also simply move the "index.cfm" entry to the bottom and then back to the top.

    Seems like a bug in IIS if you ask me.

    Laters dude.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in