Problems with htaccess redirect
问题 On the following site: http://htaccess.madewithlove.be/ fill the request url with: http://localhost/prefix/games/u_id/game-name Put this in the htaccess area: RewriteEngine On RewriteBase /prefix # stop directory listings Options -Indexes #stops htaccess views <Files .htaccess> order allow,deny deny from all </Files> # redirect game folders RewriteRule ^prefix/games/(.*)$ prefix/protected/files/$1 [L] # remove .php; use THE_REQUEST to prevent infinite loops RewriteCond %{THE_REQUEST} ^GET\ (.