Avatar of Marthaj
MarthajFlag for United States of America

asked on 

IIS and using the Rewrite URL problem...

I am new to URL rewite module in IIS and can not seem to get my pattern correct;
Below is the URL that needs to be rewritten:

https://www.mmm.com/JACCC/clients/clientnbr?id=123

OR it can be

https://www.mmm.com/JACKK/clients/clientnbr?id=123

Open in new window


I need to redirect it to

https:/apps.mmm.com/JAZ/clients/clientnbr?id=123

Open in new window


I am stuck:

This is as far as I got with the pattern matching:
^www.mmm.com/([a-z,A-Z])/^JAC([j,a,c,J,A,C])/^clientnbr([a-z,A-Z])/^id([0-9])

Open in new window


And my rewrite URL is

https://apps.furry.com.DogLive/client/clientnbr?id={R:1}

Could someone help me please ??
* iis10Web ServersWeb DevelopmentMicrosoft IIS Web Server

Avatar of undefined
Last Comment
Marthaj
ASKER CERTIFIED SOLUTION
Avatar of zc2
zc2
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Marthaj
Marthaj
Flag of United States of America image

ASKER

Thank you. It was confusing. But I learned a lot.  So basically, I just was to zero in on what would be the key element, in this case - JAC - for the pattern and if it has a querystring, check mark append query - kinda hard for me to explain my thoughts but I think I understand better.
Web Development
Web Development

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

78K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo