Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP Error 404.4 - Not Found The resource you are looking for does not have a handler associated with it

Tags:

asp.net

iis

iis-7

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

enter image description here

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.

like image 527
Jaggu Avatar asked Aug 03 '11 03:08

Jaggu


1 Answers

I was having the exact same issue. I installed Application Request Routing component and then set the Proxy enabled and selected the Use URL Rewrite to inspect incoming requests entered the redirect url alias and mine worked

like image 89
jtange Avatar answered Sep 30 '22 16:09

jtange