url rewriting - How can I fix my IIS url-rewrite rule? -


i have quite few web projects running @ given time. nice able refer them name in browser instead of having remember timefeeder uses 4567 (javaspark), , springtime uses 8080 (it's well... spring).

obvious solution put stuff in hosts file redirects correct port, like: localhost:8080 springtime example. of course doesn't work. know can't specify ports. can specify stuff localhost/8080 springtime instead. so, in interest of learning new things, decided download iis 8.0 express. should trick. after googling more, seemed should use url rewrite module.

so want this: on port, says localhost/8080 , other stuff, should redirected localhost:8080, other stuff stuck on @ end there.

the rule tried was: an inbound rule, matches patter (.*)localhost/8080/(.*) regular expression, ignoring case , reswrites url http://127.0.0.1:8080/{r:2}, appending query string, , stops processing of subsequent rules.

it however, not redirect. instead 404.0s. know i'm doing wrong?

if it's interesting anyone, here's screenshot of 404.0 error: bog standard 404.0 error message iis.

i'm sure there's easy-peasy lemon-squeezy solution this, can't find it.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -