Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [IIS] defaultDocument / Co jest wczytywane domyślnie?
starach
post 29.07.2011, 12:25:43
Post #1





Grupa: Zarejestrowani
Postów: 999
Pomógł: 30
Dołączył: 14.01.2007
Skąd: wiesz ?

Ostrzeżenie: (0%)
-----


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.
Go to the top of the page
+Quote Post
rzymek01
post 29.07.2011, 13:21:58
Post #2





Grupa: Zarejestrowani
Postów: 592
Pomógł: 62
Dołączył: 3.08.2006

Ostrzeżenie: (0%)
-----


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>


--------------------
:]
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.03.2024 - 05:54