【发布时间】:2010-08-12 15:05:56
【问题描述】:
谁能帮我把下面的伪代码翻译成Helicon Tech's ISAPI_Rewrite module能理解的代码:
if (domain == something.com OR domain == www.something.com)
{
// The rules inside this scope will only apply to the domain:
// something.com / www.something.com
// This should match "something.com/test" and/or "www.something.com/test"
RewriteRule /something /something/something.aspx
}
if (domain == test.com OR domain == www.test.com)
{
// The rules inside this scope will only apply to the domain:
// test.com / www.test.com
// This should match "test.com/test" and/or "www.test.com/test"
RewriteRule /test /test/test.aspx
}
documentation 让我很困惑。
非常感谢任何和所有帮助。
【问题讨论】:
标签: url-rewriting