Apache DirectoryIndex

Uit De Vliegende Brigade
Versie door Jeroen Strompf (overleg | bijdragen) op 7 nov 2015 om 16:11 (Nieuwe pagina aangemaakt met 'In oktober 2015 had ik het probleem dat een Apache-instantie niet standaard het ''index.html''-bestand laadde. Ik kon geen voor de hand liggende oplossing vinden....')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Naar navigatie springen Naar zoeken springen

In oktober 2015 had ik het probleem dat een Apache-instantie niet standaard het index.html-bestand laadde. Ik kon geen voor de hand liggende oplossing vinden.

Controleer op conflicterende configuraties

Bv.:

grep -r "DirectoryIndex" .
./sites-enabled/000-default.conf:	DirectoryIndex index.php
./sites-enabled/000-default.conf:	DirectoryIndex index.html
./sites-enabled/000-default.conf:	DirectoryIndex index.htm
./sites-enabled/localhost.conf:DirectoryIndex index.php
./sites-enabled/localhost.conf:DirectoryIndex index.html 
./sites-enabled/localhost.conf:DirectoryIndex index.htm
./mods-enabled/dir.conf:	DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
./sites-available/000-default.conf:	DirectoryIndex index.php
./sites-available/000-default.conf:	DirectoryIndex index.html
./sites-available/000-default.conf:	DirectoryIndex index.htm
./sites-available/localhost.conf:DirectoryIndex index.php
./sites-available/localhost.conf:DirectoryIndex index.html 
./sites-available/localhost.conf:DirectoryIndex index.htm
./mods-available/dir.conf:	DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm

Losse of gecombineerde DirectoryIndex-statements?

Zou niet uit moeten maken [1]


Bronnen