Hi @Jason Munsterteiger ,
I tried to make it work with one rule but it is impossible, so it is better to use two rule.
One rule determines whether the URI is empty. If it is empty, it will proxy to the passwordhelp page. If it is not empty, then another rule will proxy the request to the specific page.
<rule name="To passwordhelp Page" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{REQUEST_URI}" pattern="([\w]+)" negate="true" />
</conditions>
<action type="Rewrite" url="https://xxxxxx/sso/passwordhelp" />
</rule>
<rule name="To other Page">
<match url=".*" />
<conditions>
<add input="{REQUEST_URI}" pattern="([\w\/]+)" />
</conditions>
<action type="Rewrite" url="https://oneprime.gonzaba.local/sso{C:0}" />
</rule>
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang