So, I finally finished this project up. Thanks to Jonah and Andrew for
their suggestions on this. The info was quite helpful.
--RR
On Wed, Apr 4, 2012 at 8:38 PM, .jonah jonah@creori.com wrote:
In the rules section of your web.config it'd be something like:
rule name=favorite color
Anyone out there know how to set up IIS7 to pass a query string?
Any url construct is probably fine as long as I can pass four variables and
it does not have a ? or a in it (per client's requirements).
I am trying to get something like...
http://mydomain.com/redir/a/red/b/green
to redirect
I take it you are using rewrite rules?
If not there are two ways to do it, one is to use an add on for IIS at
iis.net that will do it. Or I would recommend Helicon ISAPI rewrite, mainly
because you can use .htaccess to define your rules and the fact the Helicon
is awesome.
--
Regards,
Andrew
In the rules section of your web.config it'd be something like:
rule name=favorite color rewrite
match
url=((?:[a-z][a-z0-9_]*))\/((?:[a-z][a-z0-9_]*))\/((?:[a-z][a-z0-9_]*))\/((?:[a-z][a-z0-9_]*))\/((?:[a-z][a-z0-9_]*))
/
action type=Rewrite
4 matches
Mail list logo