Questions tagged [web.config]

A configuration file for ASP.NET web applications in XML format.

116 questions
2
votes
0 answers

IIS https to https

I am trying to use IIS rewrite module to redirect https to another https. This is what i have tried: test 1:
Barnsley
  • 31
  • 1
  • 4
2
votes
4 answers

Enabling Brotli compression on IIS

My team us currently trying to install Brotli compression on a VPS: Windows Server 2012 R2 with IIS8.5 using the 64bit module that can be downloaded here: https://www.iispeed.com/pagespeed/products/iisbrotli But whatever we try, when I fill out the…
Adam
  • 247
  • 3
  • 4
  • 16
2
votes
0 answers

ASP.NET application impersonate user with netonly to access network share

We have an ASP.NET application running on Server A which is on its own domain, in the web.config we are impersonating a user. Now this application needs to access a folder on Server B which is on a different domain, and Server B declines the access…
Ray
  • 159
  • 4
2
votes
1 answer

Redirect in web.config because of certificate issues

I'm running some websites on a IIS 7.5 with one UCC SSL certificate, where 10 domains are secured. most of them are something.company.ch, some are something.anothercompany.ch we have a redirect rule in our web.config which redirects every HTTP…
SimonS
  • 785
  • 4
  • 14
  • 29
2
votes
1 answer

ASP.NET MVC Getting Error 504 after 10 minutes of File Upload

I have an ASP.NET MVC2 Web application, working with SQL Server 2008 R2, running with IIS 6.2. I have a functionality where one particular admin needs to upload about 5000 documents, which then get to be processed and stored in the server, while…
SantLev
  • 23
  • 1
  • 5
2
votes
2 answers

Is there a cmd tool to check a web.config file for validity?

When you have a malformed web.config and try and edit part of it in the GUI it will popup a box saying so and telling you the line it broke on. Is there a way to access this functionality thought the cmd/powershell?
Gilsham
  • 123
  • 1
  • 4
2
votes
1 answer

Apache 2.4 nasted location with exeptions

I have a problem with my apache2.4 configuration. I have multiple services served by the apache reachable through: www.example.com/http-service/ -> proxy pass config www.example.com/webservice2/ -> proxy pass config www.example.com/service3/ ->…
tingel2k
  • 131
  • 4
2
votes
1 answer

Is there any way to disable an ISAPI filter at the application (NOT site) level in IIS 7.5?

We have a number of applications running under a single IIS site, but one needs to run in a 32-bit application pool due to an old library it uses. However, we can't currently do this because there are two 64-bit ISAPI filters set up on the parent…
Mark Bell
  • 308
  • 2
  • 5
  • 18
2
votes
0 answers

IIS 301 permanent redirect goes into infinite loop

I would like to replace my old domain (oldsite.com) with (newsite.com) and permanently redirect my users. I have the following in my application web.config file:
GETah
  • 121
  • 4
2
votes
1 answer

IIS seems to think I have duplicate Custom Headers defined; complains about it

I am a software developer and I debug a website on my local machine in IIS 7.5. Recently I experienced problems with my machine that would not go away, so I backed up, formatted, resintalled Windows and my IDE, and set everything back up…
CodeWarrior
  • 199
  • 3
  • 9
2
votes
1 answer

IIS returns 404 when trying to access static files on certain file types

I have a specific file type of .notebook that IIS is blocking. I tried going into request filtering and adding .notebook with allow set to true, but I still get the 404. Anything else in this folder will download, just this one type is being…
2
votes
1 answer

IIS access control by IP address for specific files and folders

I am pretty new to IIS and I want to secure access to a management console of a web app. By design of application there's a virtual directory that's intended for public access, but at the same time there's a file for management console access in the…
Alex
  • 516
  • 1
  • 7
  • 18
2
votes
1 answer

HTTP Error 500.19 - IIS Error

I have following lines in my web.config file. All I am trying to achieve is to display a custom error page if anything goes wrong in application. But instead of getting the custom page I get error as in attached image. Any idea why ? I am running…
bp581
  • 141
  • 1
  • 4
2
votes
1 answer

IIS ignoring mime-type settings and serving file as application/octet-stream

We added both handlers and mime-types for IIS in the web.config to tell the server how to handle the different types of audio and video files we are using on the site. IIS does not seem to be respecting these mime-types, but is rather reverting to…
LocalPCGuy
  • 123
  • 1
  • 5
2
votes
2 answers

How to actually set max-age headers on Windows Server?

I've set the max age to 1 minute, but when I look at the response headers, I see max-age=86400 (one day). Is something else overriding this setting? I've also set the kernel cache to 1 minute for most mime types to make sure that's not the source.…
FlavorScape
  • 791
  • 4
  • 10
  • 20