Index ügyek.

A tegnapi statikus szerver üzembeállítása még egy dologgal járt: az Apache-ban az elsődleges index dokumentum mostantól (tegnaptól) az index.php, nem az index.html. Erre azért van szükség, mert a statikus szerver fogalom nélkül és text fileként szolgálja ki a php file-okat, ezért érdemes egy üres index.html-t tenni ezekbe a folderekbe: az Apache ezután is az index.php-t tekinti index dokumentumnak, a thttpd viszont csak egy üres oldalat fog mutatni.

(Ennek persze az impact értéke kicsi, tekintve hogy jelenleg egy darab virtualhost megy thttpd-n.)

3 hozzászólás “Index ügyek.” bejegyzéshez

  1. site specifikus hiba, és még azt is meg tudnám mondani, hogy mit és hol rontottál el :)

Hozzászólások lehetősége itt nem engedélyezett.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.