Questions tagged [default-document]

22 questions
3
votes
1 answer

How do I get meaningful error messages in IIS7?

I have a classic ASP website that is crashing in IIS7. It is crashing because IIS doesn't allow file uploads greater than a certain size. I know this because files below about 200k work fine. I removed the Status Code 500 error in IIS but I still…
Petras
  • 249
  • 1
  • 4
  • 12
2
votes
1 answer

how to use the location path in web.config to set a default document in IIS7

I have a multi-tennant website that I'm migrating from IIS5 on Win 2000 to IIS7 on Win Server 2008 64bit. Every tennant has their own domain name that they point to the application server's IP address. Then we set up a site in IIS for each domain…
Nils
  • 195
  • 1
  • 4
  • 13
2
votes
2 answers

Default documents stopped working in IIS

I've been trying to get ASP.NET 4.0 to work on Windows Server 2003 R2, 64-bit OS, IIS 6.0 in 32-bit mode. The latest thing I tried in the process was to run aspnet_regiis -s "W3SVC/12345/root" to try to change the version of ASP.NET being run on the…
2
votes
2 answers

IIS7 defaulting to default.php instead of default.aspx

My client has just got a new dedicated server running Win2008 (we had 2003 before), II7, etc. I started setting a little ASP.NET 2.0 web application we have. Running on its own AppPool 2.0. The problem is that when I browse the site root (locally or…
empz
  • 247
  • 1
  • 6
  • 15
2
votes
2 answers

IIS Configuration via PowerShell: Disable Default Document

I’m able to query the default document list in IIS using the following PowerShell code: Get-WebConfigurationProperty -Filter "//defaultDocument/files/add" -PSPath 'MACHINE/WEBROOT/APPHOST' -Name "value" | select value …but I want to disable the…
jshizzle
  • 341
  • 10
  • 25
1
vote
0 answers

IIS 7 Default document not loading on subdirectory

I have a subdomain pointed at my server and in IIS 7.5 have a site set up for it which works fine. If I navigate to http://test.example.com the default index.php page loads as it should. I also have a sub-section of the site located at…
Leo
  • 9
  • 3
1
vote
1 answer

How can I force IIS7 to log the actual default document of a directory rather than a "/"?

Logging under IIS7 seems to have changed in that access to a parent directory with a default document is now logged differently than IIS6. The s-uri-stem field appears to ignore whatever documents have been defined in the Default Documents module.…
Ryan
  • 11
  • 1
1
vote
1 answer

IIS not redirecting page request as expected

I want to do something very simple on a Windows Server 2003 machine; have the web server serve a redirect instead of a particular page's content, whenever the user tries to navigate to that particular page. The default document is "index.html", so…
Triynko
  • 3,408
  • 6
  • 30
  • 30
1
vote
3 answers

IIS 7.5: Virtual dirs with different default documents

We have a typical setup in IIS for our webapp with virtual dirs for different projects: www.webapp.com (Website) project1 (virtual dir) project2 (virtual dir) project3 (virtual dir) The webapp has login.aspx as a default document, as do all the…
Stijn Van Loo
  • 111
  • 1
  • 4
1
vote
1 answer

Using Default Document with Forms Authentication

I have a site hosted on IIS7 with a default document specified as default.aspx. This works fine but my app uses Forms Authentication and I want to disable Anonymous Authentication completely. When I do disable anonymous authentication for…
1
vote
0 answers

How to do something like in applicationHost.config to apply sslFlags to "/" but nothing within the virtual directory?

On an IIS 10.0 server hosting https://example.com, what do I put in my applicationHost.config so that all of the following is true: https://example.com/ does not request a client certificate. https://example.com/index.html does not request a client…
0
votes
1 answer

Default VHOST on apache2 not working if browsing to IP directly

Im pulling my hair out with Apache2 on Ubuntu 18.04. I have a couple of domains that point to Vhosts, they seem to work but for some reasons when browsing to the IP directly, if just forwards to one of the vhosts and not the root of the…
0
votes
2 answers

NGINX Uses first ssl server_block it can find as default

So I´ve removed my default vhost config from /etc/nginx/sites-available/, since I don´t need to catch users accessing a non-existent subdomain (Debian 9). Problem: When calling a random subdomain with https, f.e. https://abc.example.com, NGINX…
0
votes
1 answer

NGINX using other server block as default

I´m currently configuring my nginx server and I´ve ran into a problem where I can´t seem to find the problem I did, even after hours of research. I´m running Debian 9 with PHP 7.2-fpm on NGINX. So, I have setup following server blocks for different…
0
votes
1 answer

IIS 10 StaticFile handler impeding PHP custom verb for default document

I'm trying to enable IIS 10 to allow custom verbs in PHP. I have PHP_via_FastCGI enabled to accept all verbs. This works correctly when I specify the full path, inclusive of index.php at the end. The issue is when I don't specify index.php in the…
Mike
  • 1
  • 1
1
2