如何创建一个 apache RewriteRule 来捕获以 .xml 结尾的任何请求 URL,剥离 .xml 并将其传递给特定脚本?
http://www.example.com/document.xml, becomes http://www.example.com/document passed to script.php
如何创建一个 apache RewriteRule 来捕获以 .xml 结尾的任何请求 URL,剥离 .xml 并将其传递给特定脚本?
http://www.example.com/document.xml, becomes http://www.example.com/document passed to script.php