0
웹 사이트를 만들고 있는데 왜 mod_rewrite
이 작동하지 않는지 알 수 없습니다.URL 다시 쓰기가 올바르게 작동하지 않습니다.
다음은 본 URL입니다 : http://www.treetle.com/profile/index/show/rameshmantha
하고 http://www.treetle.com/profile/rameshmantha
rameshmantha
가 (동적으로 제공) 프로파일의 이름입니다
에 다시 여기 내 htaccess로 파일입니다되어야합니다.
RewriteEngine on
Options +FollowSymLinks
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
RewriteRule ^/profile/([a-z]+)?$ /profile/index/show/$1[L,QSA]