default-document

How to determine if the default document was served in traditional ASP?

In a file called index.asp, which is set up in IIS as a default document for the directory, I'm trying to determine via .asp VBScript if the page was called as the default document versus directly by name, i.e. I'm trying to distinguish between these two cases server-side: http://someurl/ http://someurl/index.asp I know how to do this...

IIS7 - Default document in another (virtual) directory

I have a Website that has a cgi-bin (virtual) directory. I want when someone comes to the site http://www.domain.com/ they are automatically brought to http://www.domain.com/cgi-bin/site.exe. I would like to do this without META Redirect if possible. Can this be configured in IIS7? I know in IIS6, I could specify the default doc...

IIS5 not serving index.html on local machine even though it's listed in the Default Documents

I'm developing a site in VS2008 on a machine running XP SP3 with IIS5. I've named the main page in each directory index.html to avoid the www.domain.tld/directory/pagename.ext scenario of specifying a full path, and also because these pages literally contain an index of the other pages in their directory. When I debug on my local machi...

Test for default document request?

Is there a way to programmatically know when someone is using the Default Document feature of IIS to access my page (that is, the name of my .ASPX isn't in their URL anywhere)? ...

Redirect to webapp default document when another page is specified?

IIS6, ASP.NET 2.0, No Forms Authentication I'm calling Response.Redirect("~/foo.aspx"), but the default document ("Default.aspx") for my site is appearing. To make matters worse, it only happens intermittently. Sometimes the redirect displays the right page. I've checked session state, and I don't see any values in the web.config (th...

ASP.net 4.0 default.aspx problem on IIS6

I installed .net framework 4 on my windows 2003 enterprise x64, wrote simple asp.net 4.0 application (default.aspx page only). The application works great if request is to default.aspx, not to the root site: contoso.com/ - doesn't work (Get 404 error) contoso.com/default.aspx - works. Default.aspx is in list of default documents in II...

IIS 7.5 default documents and ASP.Net MVC 2 Routes

I am trying to deploy a website on Win Server 2008 R2 machine with IIS 7.5. The website is developed with asp net mvc2. My client asked me to deploy a simple .html document to be served until we decide to go live with the mvc app. I have created the website and published my site for testing and it works perfectly, but I cannot make my ap...