Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [IIS] defaultDocument / Co jest wczytywane domyślnie?
starach
post
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
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
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 08:47