A configuration file for ASP.NET web applications in XML format.
Questions tagged [web.config]
116 questions
0
votes
1 answer
IIS and Static content?
Files that the browser retrieves from the server should be stored in
the browser’s cache as long as possible to help minimize server
round-trips.
But how does IIS knows what is actually a static content and what is not?
Is it just images ,…

Royi Namir
- 137
- 1
- 14
0
votes
2 answers
Auto start timers when app pool starts in GoDaddy shared hosting ASP.NET 4.0
I have a GoDaddy Shared Hosting plan and I have several ASP.NET 4.0 websites. I have some cronjob-like functionality for performing a web-related task every 5 minutes. I've put the initialization logic with timers into my Global.asax…

Can Poyrazoğlu
- 101
- 3
0
votes
1 answer
What are the things to look out for when adding other domain user to your IIS?
I have a Windows Server 2008 R2 called Jack11 that joined a domain called Watson.org.
It has IIS 7 installed.
From my understanding, we need to add the following into the web.config file

Jack
- 107
- 1
- 3
0
votes
1 answer
Ignore subdomain rewrite rules
I'm having difficulty having a sub folder act differently to the main domain in my web.config for iss.
I want to prevent the sub folder from rewriting to the baselevel index.php and instead re-write to /subfolder/index.php/
I've tried this
…

Alan Hollis
- 181
- 9
0
votes
2 answers
can not connect to SQL running on amazon ec2 machine
I am using SQL managment studio 2008 running on an Amazon EC2 machine. I am unable to connect to the database in my asp.net application. The EC2 instance has been set to accept connections over the SQL port. I am also able to remote the machine as…

njj56
- 1
- 1
- 2
0
votes
1 answer
Enable Windows Authentication on website, allow only some users
I am investigating this problem. I have a CGI application that I publish through a website published in IIS7.
EDIT:
I changed the web.config to use url authorization. This is the web.config of a folder called secure and this is the web.config of…

Mauro
- 101
- 1
- 1
- 4
0
votes
1 answer
The proper way to redirect from http:// to /www in IIS7
I've noticed recently that Google and a number of other SEO tools are a little confused about where my site is located. They seem to be unsure about whether it's www. or non www. SEO Moze's Site Explorer tool is unsure and so is Google's webmaster's…

Zach Shallbetter
- 172
- 2
- 11
0
votes
1 answer
.HTacess on PHP Website on WIndows Server2008
I have a PHP5 website on Windows Server 2008. I want to access .htaccess file. How can I?

Varun Jain
- 103
- 1
0
votes
2 answers
Do we need to have a System.Web section in our IIS web.config file, if we're not using Cassini / Web Development Service?
a typical web.config file has a section and a section.
I'm under the impression that IIS7 / IIS7 express ignore the section .. so if we will never use that cursed thing called Cassin/Web Development…

Pure.Krome
- 6,508
- 18
- 73
- 87
0
votes
1 answer
How to hide subfolder when using Web.config for subdomains?
I have FTP access to my ASP.NET Websapce (IIS 7) and I route subdomains with a Web.config in the web root folder. She looks like this:
…

NKnusperer
- 111
- 1
- 4
0
votes
1 answer
IIS 7.5 virtual directory cannot load assembly which is referenced in the root web.config
I've encountered the following problem with the IIS 7.5.
Under root I have a virtual directory which is setup as application running under classic pipeline.
it looks like this
-root (integrated)
-bin
-virtualdirectory (classic)
…

McLovin
- 143
- 8
0
votes
1 answer
Bypass OnAuthenticateRequest from web.config for certain paths
We have a web-app that basically catches all requests for url-rewriting purposes, except for a certain sub directory (/static) which has it's own web.config (NOT a subapplication!), which defines a StaticFileModule for all files.
However, since it…

jishi
- 868
- 2
- 11
- 25
0
votes
1 answer
asp.net cannot upload more than 25mb or receive 404 - File or directory not found
The upload used to work without issue before, and I cannot find anything that might have changed, except I did do updates on all servers.
I rebooted all servers and tried uploading files, and the 404 Error is still present.
Specs and Information on…

CodingEE
- 101
- 1
- 1
- 9
0
votes
0 answers
web.confing ipSecurity IP deny entries are not denied
Windows Server 2019 with IIS 10.
I'm trying to configure a list of "deny IP" entries in the IIS web.config (see below), but the IPs are not blocked. At the same time if we enter the same IPs manually, via the IIS Manager (IP Address and Domain…

AKha
- 1
0
votes
0 answers
iis - Redirect URL by numeral in order
Good afternoon people.
The issue is that I was testing redirecting pages and I ended up having to repeat the code 11 times. But I believe there is a way to automate this. If anyone can help me.
What I want to do is access an address …

xzmaster
- 1