Aha... Du måste ha ett filtillägg som hanteras av aspnet_isapi.dll
Du kan konfigurera webbservern att hantera alla filer, vilket nog blir nödvändigt om du ska sluta utan .aspx (vilket är att föredra).
Blir fan galen. Det fungerar inte.
Förklaring.
IIS 6.0
Open the IIS Manager tool, select the web which you want to configure and open the settings menu. Select register „Home Directory“, go to „Application settings“ and click on „Configuration“. Here you can add additional file extensions or map existing extensions to ASP.NET under register „Mappings“ with the following settings. Executable c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll (can vary by installation) Extension .html (Sample for.html) Verbs, Limit to) GET,HEAD,POST,DEBUG Script engine check Verify that file exist check off Handle all requests by ASP.NET 2.0 IIS 5.0/5.1 Handle all requests with placeholder *.* by aspnet_isapi.dll. IIS 6.0
With IIS 6 you can’t handle *.* requests, but you can assign an ISAPI filter as an application placeholder (Wildcard application maps).For it you have to follow the steps described on page 14, but not adding a file extension under „Wildcard application maps“, but „c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll“. Do not check „verify that file exists“!
Problemet är Extension det fungerar inte att ange .aspx och inte heller *.*
Nån som vet vad som ska anges under extension för att det ska fungera.
|