Url rewrite issue


I am using the application for URL Rewrite having from :

Tip/Trick: Url Rewriting with ASP.NET - ScottGu’s Blog

This works fine.

But when I try to develop an extensionless URL Rewrite, the it does not work in some (local) servers. I cannot find what to change in IIS where it is not running (All are IIS 7.0 or above).

Even if I change
<section name=”globalModules” allowDefinition=”AppHostOnly” overrideModeDefault=”Allow” />
<section name=”modules” allowDefinition=”MachineToApplication” overrideModeDefault=”Allow” />
<section name=”handlers” overrideModeDefault=”Allow” />

in c:/windows/system32/inetsrv/config/ applicationHost.config

it shows no effect there.

But if I run the same website using Application Server, then it runs fine.


The above link works fine.

But the following link shows error :


HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Detailed Error Information


IIS Web Core





Error Code


Requested URL

Physical Path


Logon Method


Logon User


Most likely causes:•The directory or file specified does not exist on the Web server.
•The URL contains a typographical error.
•A custom filter or module, such as URLScan, restricts access to the file.

Can anyone tell me what and where to change any configuration, if I need to set extensionless URL rewrite?


If you are using ASP.net with the apache tomcat, try this method.
copy the host DLL file into the ASP.NET website’s /bin folder and then open up Visual Studio or the alternate software for the site and edit Web.config with the changes.

Make sure the app pool in question is running in Integrated rather than Classic mode.