Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [IIS] defaultDocument / Co jest wczytywane domyślnie?
Forum PHP.pl > Forum > Serwery WWW > IIS
starach
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
http://www.iis.net/ConfigReference/system....defaultDocument

Cytat
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>
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2024 Invision Power Services, Inc.