.htaccess를 구성하는 데 익숙하지 않아서 도와주세요.index.php 요청을 http : // localhost/website/.htaccess로 리디렉션
은 내가 index.php에로가는 링크가 있지만
eg.
http://localhost/website/index.php
나는 그것이
입니다 루트 폴더로 리디렉션 할 index.php를 내 URL에 표시하지 않으려는http://localhost/website/
그래서 답변을 검색해 보았습니다. 그리고 지금까지 내가 얻은 것입니다.
이http://localhost/Applications/XAMPP/xamppfiles/htdocs/website/localhost/website/
사람이 무슨 일이 일어나고 있는지 설명 할 수 -
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://localhost/website/$1 [R=301,L]
지금 내가 대신이 리디렉션되고
http://localhost/website
에 저를 리디렉션의, 내 로컬 웹 사이트에 홈을 클릭 할 때 에?
프레임 워크 BATO의 kuya htaccess generator에서있어? –
아니요. 프레임 워크가 아닙니다. –