0
가상 호스트의 모든 http 요청을 내 apache 서버 문서 루트의 index.php 파일로 전달하려고합니다.모든 요청을 index.php로 전달하는 방법
다음과 같은 .htacess 파일을 사용하면 어떻게됩니까?
RewriteEngine On
RewriteRule . index.php
가상 호스트의 모든 http 요청을 내 apache 서버 문서 루트의 index.php 파일로 전달하려고합니다.모든 요청을 index.php로 전달하는 방법
다음과 같은 .htacess 파일을 사용하면 어떻게됩니까?
RewriteEngine On
RewriteRule . index.php
이 질문은 몇 가지 다른 사람의 중복입니다. –
나는 보았다 - 빌 – user61629
여기의 대답은 더 좋다. http://stackoverflow.com/questions/5310481/htaccess-redirecting-all-requests-to-domain-root –