IIS Support Blog
Copied!
Home
Options
463
Nedim on 09-12-2019 08:02 AM
285
Nedim on 09-12-2019 07:56 AM
285
Nedim on 09-12-2019 07:49 AM
585
pcociuba on 09-10-2019 03:06 AM
350
pcociuba on 09-10-2019 02:12 AM
416
pcociuba on 09-10-2019 02:02 AM
611
Viorel-Alexandru on 08-30-2019 03:08 AM
361
Nedim on 08-29-2019 01:42 PM
378
Nedim on 08-29-2019 01:34 PM
2,300
Nedim on 08-29-2019 01:20 PM
2,323
pcociuba on 08-28-2019 07:50 AM
1,372
pcociuba on 08-28-2019 06:50 AM
424
pcociuba on 08-28-2019 06:37 AM
266
pcociuba on 08-28-2019 06:22 AM
421
pcociuba on 08-28-2019 05:14 AM
408
pcociuba on 08-28-2019 03:50 AM
348
Viorel-Alexandru on 08-23-2019 08:45 AM
1,565
Viorel-Alexandru on 08-21-2019 08:12 AM
646
Viorel-Alexandru on 08-19-2019 05:30 AM
404
Nedim on 08-15-2019 09:01 AM
426
Nedim on 08-15-2019 08:52 AM
Latest Comments
And, you could do this per web-app within the web.config file:<configuration> <system.webServer> <httpProtocol> <customHeaders> <clear/> <add name="Server" value="SubServer or whatever"/> </customHeaders> </httpProtocol> </system.webServer> </configuration>
0 Likes
Well, in the "Internet Information Services" - management console I switched to "HTTP Response Headers" and added "Server"-Value "Webserver" which overrides the "Microsoft-IIS/10.0" with "Webserver".That easy...EDIT: or you add this manually (caution!) to C:\Windows\System32\inetsrv\config\applicati...
0 Likes
You can only have a global.asax at the root of the web application. That's what /* whatever condition */ is for. You didn't mention the requirement for being on of the DefaultDocuments. But you can add Default Documents (https://docs.microsoft.com/en-us/iis/configuration/system.webserver/defaultdocu...
0 Likes
True, Default.aspx is not the most performant solution. But it is very likely that a "default.aspx" entry exists in the Default Documents configuration. Your solution with Global.asax looks nice; I'm not sure if you can put a global.asax on any folder level in an app.
0 Likes
I'd use a generic handler (ASHX): <%@ WebHandler Language="C#" Class="Handler" > using System; using System.Web; public class Handler : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.RedirectLocation = "<a href="http://new.location.net/optional/path" target="_blank...
1 Likes