4701
Living Room / Re: URL Rewrite Problem
« Last post by wraith808 on June 21, 2014, 10:52 AM »Probably the reason you're not getting views, etc, is that it's not a URL-rewrite issue either; it's a regex issue. The . character is a regex character, so you have to escape it. Also, you should probably make the / optional. I put some regex below.
In the future, you might want to run your regex through a tester to make sure it's doing what you want it to do. There are several online. RegexHero is one, but it uses the Silverlight parser, so if you're typically doing perl rather than .net expressions, you'll want to find another. I use RegexBuddy... but it's a paid app. Very much worth it to save sanity.
Code: Text [Select]
- .*sub1\.domain\.org/*.*
In the future, you might want to run your regex through a tester to make sure it's doing what you want it to do. There are several online. RegexHero is one, but it uses the Silverlight parser, so if you're typically doing perl rather than .net expressions, you'll want to find another. I use RegexBuddy... but it's a paid app. Very much worth it to save sanity.

Recent Posts



)