Dale Fraser
Dale Fraser

Reputation: 4758

Can't get default document to work with ColdFusion & IIS

I've tried everything I can think of and it's definitely configured, but I cant get IIS to work with ColdFusion 10 and default documents.

I'm looking for some help or advice as to what to try, I've added the entries, verified they are in web.config etc., restarted IIS, restarted the web server, and it just won't work.

Upvotes: 1

Views: 1497

Answers (1)

bwheatley
bwheatley

Reputation: 26

Where did you place the web.config file? did you place it in the top level directory of your specific application/site?

I do and that works well.

<configuration>
   <system.webServer>
    <defaultDocument>
        <files>
            <add value="index.cfm" />
        </files>
    </defaultDocument>
   </system.webServer>
</configuration>

Upvotes: 1

Related Questions