KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've hosted a site in IIS but whenever I browse to the site I get 404.4. How can I solve this? I've referred several posts and they all say the issue is about staticfile but it is already mapped. What more can I do? Here is the attached picture of handler mappings in my iis 7.0 Any ideas? EDIT: I have this url rewriter set up: <rules> <rule name="Imported Rule 1-1" enabled="true" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{SERVER_PORT}" pattern="80" /> </conditions> <action type="Rewrite" url="https://abc.com/{R:1}" /> </rule> When I disable this rule the http:// request is correctly handled. But when I enable it, I get this error. Yet another update: If I replace this: <action type="Rewrite" url="https://abc.com/{R:1}" /> with <action type="Redirect" url="https://abc.com/{R:1}" /> It all works out pretty well.
Tags (comma-separated)
Save Edits
Cancel