My site currently handles a URL encoded URL as one of the URI segments:
https://report-uri.io/home/pkp_analyse/https%3A%2F%2Fscotthelme.co.uk
I'm trying to replicate this functionality in an Azure Web App that's running IIS/8. I already have one rewrite rule for my MVC:
<rule name="CodeIgniter rewrite" stopProcessing="false">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="false" />
</rule>
When I try to access the URL above I get a 500 error that states the following config file is not available:
D:\home\site\wwwroot\home\pkp_analyse\https:\web.config
What would be the correct way to handle the rewrite for this?