Url rewrite issue

Hello,

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.

[COLOR=“Blue”]http://localhost:1978/TestWebSite1/Products/A/B[/COLOR]

The above link works fine.

But the following link shows error :

[COLOR=“blue”]http://192.168.1.100/TestWebSite1/Products/A/B[/COLOR]

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

Module

IIS Web Core

Notification

MapRequestHandler

Handler

StaticFile

Error Code

0x80070002

Requested URL

http://192.168.1.100:80/TestWebSite1/Products/A/B

Physical Path

D:\Websites\TestWebSite1\Products\A\B

Logon Method

Anonymous

Logon User

Anonymous

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?

Thanks

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.