localhost/gallery/폴더에 사이트가 있습니다. 나는 이것을 만들고 싶어 : - localhost/gallery/12 real addres를 쓸 때 localhost/gallery/index.php가 될 것인가? url = 12 나는 그것을 만들려고했지만 불행히도 작동하지 않는다. 310 오류를 반환합니다 (ERR_TOO_MANY_REDIRECTS).어떻게? (.htaccess redirect 301)
AddDefaultCharset UTF-8
Options +FollowSymlinks -Indexes
RewriteEngine On
RewriteCond %{THE_REQUEST} /index\.(php|html)\ HTTP/
RewriteRule ^index\.(php|html)$/[R=301,L]
RewriteRule ^(.*)$ http://localhost/gallery/$1 [R=301,L]
RewriteBase/
RewriteRule ^([^.]+)$ index.php?url=$1 [L,NC,QSA]
내가 게시 한 솔루션으로 문제가 해결되었는지 알려 주시겠습니까? – megaflop