I have migrated to a new server using Windows 2008R2 IIS 7.5.
My previous server was Windows 2008 IIS7 or IIS7.5.
If I leave the line in my web.config file below I get a 500 error on directories, like www.websitename.com does not work but
www.websitename.com/default.aspx does work! If I remove the line it works fine. However this line of code is a 404 error
for directories not found, which is what I need. Any advice on how to obtain this functionality on the new server? I am looking
to store www.websitename.com/username and grab username as a variable. This was working on my old server perfectly. But
it looks like this 64 bit IIS 7.5 box does not like this handler??
dlhost
Member
20 Points
18 Posts
ExtensionlessUrlHandler IIS 7.5
May 29, 2012 06:50 PM|LINK
I have migrated to a new server using Windows 2008R2 IIS 7.5.
My previous server was Windows 2008 IIS7 or IIS7.5.
If I leave the line in my web.config file below I get a 500 error on directories, like www.websitename.com does not work but
www.websitename.com/default.aspx does work! If I remove the line it works fine. However this line of code is a 404 error
for directories not found, which is what I need. Any advice on how to obtain this functionality on the new server? I am looking
to store www.websitename.com/username and grab username as a variable. This was working on my old server perfectly. But
it looks like this 64 bit IIS 7.5 box does not like this handler??
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>