Can't get default document to work with ColdFusion & IIS
-
11-06-2021 - |
Question
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.
La solution
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>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow