URL重写模块和文件夹重定向

时间:2016-07-29 18:46:51

标签: url-redirection

我没有成功使用URL Rewrite模块进行文件夹重定向。我正在尝试将文件夹重定向到另一个域(尽管我在同一个域中遇到了类似的问题)。例如: 测试输入= http://www.example.com/folder 重定向网址= http://www.otherdomain.com

模式

*folder will work, but it's too general (will redirect ALL subfolders with same name).
*/folder will not work even though it passes the test.
*example.com/folder will not work even though it passes the test.
\S*example.com\/folder will not work even though it passes the test.

我做错了什么?谢谢!

0 个答案:

没有答案