1

I need to get the IIS URL rewrite module to work but am having no luck.

What I need to do is 'inject' a subfolder (psms) into a url when it is not present, like so: https://something.somewhere.com/acp/default.aspx?k=v

Doesn't have the subfolder psms so redirect to https://something.somewhere.com/psms/acp/default.aspx?k=v

Rajesh Loganathan
  • 11,129
  • 4
  • 78
  • 90
jaded_kin
  • 11
  • 2

1 Answers1

0

OK, psms is a root folder of hosting ; you need to use expression like

<action type="Rewrite" url="acp/default.aspx?k={R:1}" />
  • Thanks but I wasn't just thinking of the /acp/ example , I kind of need the psms to be included every time. So https://something.somewhere.com/admin/default.aspx?k=v also goes to https://something.somewhere.com/psms/admin/default.aspx?k=v – jaded_kin Oct 30 '13 at 00:42