Hey, assume I have a site http://foo.com/anypath/..., how do I rewrite it to http://foo.com/temp/anypath...
Here is the rule I have for now.
<rule name="test" stopProcessing="true">
<match url="^(?!.*temp).*$" /><!--
<action type="Rewrite" url="/temp/" appendQueryString="true" />
</rule>
Basically, I need to insert "temp" right after the host while preserving everything else (both relative path and parameter). I can not hardcode "anypath", as it is unknown to me; also.
Thanks