내 htaccess로 파일이 있습니다 mod_rewrite를 빈 REQUEST_FILENAME
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule !\.(gif|jpg|png|css|js|ico|flv|php|txt)$ index.php
지금 내가 어떤 REQUEST_FILENAME이 발견되지 않는 경우 index.html을에 전달합니다 다른 규칙을 추가해야합니다.
그래서 www.mysite.com은 index.html을 앞으로 것이고 www.mysite.com/file.html은 index.php를 기대한다.
그래서 요청 URL에 파일이 없으면 index.html로 전달하고 index.php로 전달하지 않으시겠습니까? – dfilkovi
왜 이것을 다시 쓰고 싶습니까? 당신은 당신의 문서 루트에 index.html과 index.php를 가질 수 있습니다.DirectoryIndex index.html을 설정하면 request_filename을 갖지 않으면 index.html이 호출됩니다. – Rufinus
index.php를 내 앞에 컨트롤러, 그리고 index.html을 그렇게 모든 요청은 index.php를 전달하는 웹 사이트에 대한 항목 플래시 애니메이션을 보유하고 있으며 지금은 정확히 – dfilkovi