PHP MVC 웹 응용 프로그램을 작성하고 싶습니다. .htaccess를 MVC를 지원하도록 구성하는 방법은 무엇입니까?
는 지금 내가RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [R,L,NS]
을 다음과 같이 .htaccess 파일을 생성 URL에 입력 한 모든 그렇게되는 index.php 경로에 노력하고있어하지만 난 어떤 URL을 입력하려고 할 때이 URL에 저를 라우팅 입력 한 전체 경로 로 ->127.0.0.1/mvc/xxx/
가 라우팅 - 전체 경로없이>http://127.0.0.1/C:/Program%20Files/EasyPHP-12.0/apache/htdocs/mvc/index.php
(C : /Program%20Files/EasyPHP-12.0/apache/htdocs) 내 생각, 내가 원하는 것을 얻을 것입니다.
이 문제를 해결하는 방법을 알려주십시오.
감사합니다. Kongthap.
Windows XP에서 EasyPHP를 사용하고 있습니다.
나는 잘 모르겠지만,'사용해보십시오/index.php' –