본질적으로 이렇게하는 htaccess 파일을 작성하려고합니다.다른 유형으로 조건을 다시 쓰고 규칙을 다시 쓰면 htaccess를 사용할 수 있습니까?
if(requested file == "some-file.php" || requested file == "some-file2.php" || requested file == "some-file3.php")
then Rewrite to redirector.php?uri=some-file.php <- substitute requested file without passing any parameters
else
// existing rewrite conditions from silverstripe
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
htaccess를 사용하면 가능합니까?