%{REQUEST_URI}が%{HTTP_HOST}で始まる場合に書き換える方法は?
つまり、http://example.com/example.com_custom_text- > http://example.com/index.php?q=special&info=example.com_custom_text
普遍性があるため、%{HTTP_HOST}の使用は重要です。
動作しません:
RewriteCond %{REQUEST_URI} ^%{HTTP_HOST}
RewriteRule ^(.*)$ index.php?q=special&info=$1 [L,QSA]