Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

default.asp ?

Status
Not open for further replies.
Sorry i'm a complete fool. I also uploaded the Index.html file, so it loaded that first. heh. duh!
 
Hi maybe I can help u out.
I have 2 alternatives.
1. you can change/add the default page in your IIS into default.asp

2. you create a file index.html which the content is below

============== index.html ====================
<script language=&quot;javascript&quot;>
window.location &quot;default.asp&quot;; </script>
<html>
<body>
</body>

</html>
==============================================
index.html will read the script which refers to default.asp


I hope this will work .....

Regards,
JJ26
 
JJ26's first suggestion (change it in IIS) is the better option. It doesn't rely on client side code being enabled.

Another alternative is to use the refresh meta tag. Add the example below to your <HEAD> section.

<meta http-equiv=&quot;refresh&quot; content=&quot;0;URL=default.asp&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top