I'm trying to create a redirect rule for a specific URL but it's causing a 500 response that's hard to troubleshoot - rule is below along with IIS express log entries. Any ideas?
ModuleName | RewriteModule |
---|
Notification | 1 |
---|
HttpStatus | 500 |
---|
HttpReason | URL Rewrite Module Error. |
---|
HttpSubStatus | 50 |
---|
ErrorCode | 2152071483 |
---|
ConfigExceptionInfo | |
---|
Notification | BEGIN_REQUEST |
---|
ModuleName | RewriteModule |
---|
Notification | 536870912 |
---|
HttpStatus | 500 |
---|
HttpReason | URL Rewrite Module Error. |
---|
HttpSubStatus | 52 |
---|
ErrorCode | 2152071483 |
---|
ConfigExceptionInfo | |
---|
Notification | SEND_RESPONSE |
---|
<rule name="SEO - Apply" stopProcessing="true"> <match url="(^.*(?i)/)(Apply.aspx)(.*)"/> <conditions logicalGrouping="MatchAll" trackAllCaptures="false"> <add input="{HTTP_METHOD}" pattern="GET" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> </conditions> <action type="Redirect" url="http://localhost:4000/jobs" /> </rule>