작업 내 index.php에 문제가없는 받기, 나는 www.mysite.com/에 갈 때 내용이 작동포함 인덱스
<?php $clase = $_GET['clase'];
if ($clase == empresa) {include ("empresa.php");}
elseif ($clase == productos) {include("productos.php");}
else {include ($_SERVER['DOCUMENT_ROOT']."/inicio.html"); }
?>
을 제공하기 위해 어떤 결정이 작은 스크립트가 index.php
그러나 www.mysite.com에 갈 때 그것은 나던하지 않으며 우리의 이유를 파악할 수 없습니다.
thx 도움을 위해, 마침내 httpd.conf에 문제가있었습니다. index.php가 미리 결정된 색인으로 사용되지 않았습니다. – diego