Apache2 dir.conf

Dir konfiguraatiolla voidaan asettaa automaattinen tiedoston avaaminen kansiotasolla. Prioriteetti on suurin listan ensimmäisellä tiedostolla ja viimeisellä tiedostolla on heikoin prioriteetti.

Tyypillinen dir.conf, huomioi että DirectoryIndex tiedot tulee olla yhdellä rivillä, ei rivitettynä usealle riville.

DirectoryIndex index.html index.pl index.php index.xhtml index.htm Index.html Index.htm Index.php INDEX.HTML INDEX.HTM main.html main.htm koti.htm koti.html koti.php Koti.php main.php home.html home.htm home.php 1.html 1.htm 1.php start.html start.htm start.php Start.html Start.htm Start.php

Leave a Reply

Your email address will not be published.