starach
29.07.2011, 12:25:43
Cześć,
Pracuję właśnie nad projektem który zmusza mnie ( %@!$#&#* ) do korzystania z IIS'a. W pliku Web.config ( który jak się domyślam jest odpowiednikiem .htaccess. Niestety nie ma tam dyrektywy defaultDocument, a jako że poprzedni developer zrobił kompletny pieprznik w strukturze projektu nie mam bladego pojęcia jaki plik jest wczytywany jako domyślny.
rzymek01
29.07.2011, 13:21:58
http://www.iis.net/ConfigReference/system....defaultDocumentCytat
Configuration Sample
The following configuration example, when included in a Web.config file for a site or application, enables default documents for the site or application. It then adds the file name "Home.html" to the list of the site's or application's default documents.
<configuration>
<system.webServer>
<defaultDocument enabled="true">
<files>
<add value="home.html" />
</files>
</defaultDocument>
</system.webServer>
</configuration>