473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Default page names?

Hi, all.

This should be a simple question. What are the default page names when the
web site is running ASP.NET?

I'm referring to the list that you see when you run the IIS Mgr and choose a
website's properties then go to the Documents tab. For a standard,
pre-ASP.NET website the default documents were:

Default.htm
Default.asp
index.htm
iisstart.asp

I assume that some new ones like default.aspx have been added?

Any help would be appreciated.

Thanks,
Ken
Feb 11 '06 #1
2 1552
I am not an expert on configuring IIS, but I believe you can add whatever
names you want. I also believe that the default names are still the same
*.htm names (Default.htm & index.htm) unless you change them. I believe this
is because *.htm files are standalone, client-side, and do not need to be
compiled or included as part of the project, so the developer does not need
to worry about including them when working with the site. What some people
do if they want their initial page to be an *.aspx file but don't want to or
don't have permission to modify the IIS settings is use a Refresh META tag,
as follows:

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.mysite.com/index.aspx">

I think that the default IIS setup still uses the *.asp files in the list,
because even though they are server-side, because they are not compiled and
are standalone. This is the best info I can give, hopefully it will help.
Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Ken Spreitzer" <ke*@maximized.com> wrote in message
news:Of**************@TK2MSFTNGP11.phx.gbl...
Hi, all.

This should be a simple question. What are the default page names when
the web site is running ASP.NET?

I'm referring to the list that you see when you run the IIS Mgr and choose
a website's properties then go to the Documents tab. For a standard,
pre-ASP.NET website the default documents were:

Default.htm
Default.asp
index.htm
iisstart.asp

I assume that some new ones like default.aspx have been added?

Any help would be appreciated.

Thanks,
Ken

Feb 11 '06 #2
Thanks for the answer.

Also, I just ran across this article:

http://msdn.microsoft.com/msdnmag/is...8/HTTPFilters/

which includes the comment:

"IIS uses default.htm, default.asp, and default.aspx as default document
names."
which is exactly what I was looking for. I'm posting it here in case it
helps someone else.

(Interesting that it doesn't list index.htm, which was included in earlier
versions of IIS. And perhaps it's muddling the distinction between IIS and
ASP.NET. IAC, it's enough info for my purposes.)

Thanks!
--Ken
"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I am not an expert on configuring IIS, but I believe you can add whatever
names you want. I also believe that the default names are still the same
*.htm names (Default.htm & index.htm) unless you change them. I believe
this is because *.htm files are standalone, client-side, and do not need to
be compiled or included as part of the project, so the developer does not
need to worry about including them when working with the site. What some
people do if they want their initial page to be an *.aspx file but don't
want to or don't have permission to modify the IIS settings is use a
Refresh META tag, as follows:

<META HTTP-EQUIV="Refresh"
CONTENT="0;URL=http://www.mysite.com/index.aspx">

I think that the default IIS setup still uses the *.asp files in the list,
because even though they are server-side, because they are not compiled
and are standalone. This is the best info I can give, hopefully it will
help. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Ken Spreitzer" <ke*@maximized.com> wrote in message
news:Of**************@TK2MSFTNGP11.phx.gbl...
Hi, all.

This should be a simple question. What are the default page names when
the web site is running ASP.NET?

I'm referring to the list that you see when you run the IIS Mgr and
choose a website's properties then go to the Documents tab. For a
standard, pre-ASP.NET website the default documents were:

Default.htm
Default.asp
index.htm
iisstart.asp

I assume that some new ones like default.aspx have been added?

Any help would be appreciated.

Thanks,
Ken


Feb 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Nick Coghlan | last post by:
Time for another random syntax idea. . . So, I was tinkering in the interactive interpreter, and came up with the following one-size-fits-most default argument hack: Py> x = 1 Py> def...
5
by: Michael Albanese | last post by:
I recently read an article that mentioned adding code to the onload event to "register a default button". The behavior i am after is that when the user hits enter, the form submits. Does...
8
by: Fast Eddie | last post by:
I've done a bit of searching, and I can't find the answer to this question: If you omit the "font-size" property from all of your CSS, does it default to 100%? Thanks for bearing with a newbie.
0
by: Jeff | last post by:
Hi - I have an ASP.NET page that hangs (some times; if it loads for you, try refresh/F5 several times) when I try to run it on my localhost. It contains an HTML table for formatting, and within...
7
by: Frankie | last post by:
I just acquired a new customer who had an existing ASP classic Web site. When I took over, I transferred all content to ASPX pages that have different page names than the prior Web site had. I kept...
4
by: Nobody | last post by:
Hi, I'm using ASP.NET w/ Visual Studio 2005 and the .net development server... how do I set the default start up page? right now when I go to http://localhost/WebSite I get a directory listing....
1
by: ytterbius | last post by:
Hello, I posted this earlier to the ASP section, but I think the problem is a IIS one. I have a site with several pages. When I debug in visual developer I'm able to open the various pages and...
1
by: Dennis | last post by:
I have a website in VS 2005. For some reason, when I run it from within VS, it shows the directory listing instead of the default page. It just started doing this and I have no idea what I did to...
4
by: rvj | last post by:
Anyone know if its possible to create an ASP script to reset the default page of a particular directory
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.