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!

Is there a way to set a VD as the default website? 1

Status
Not open for further replies.
You could write a small script (javascript window.location) to do a redirect and set it as the default document on the website.

Alternatively you could have an ISAPI filter, to interpret things for you, but that is harder.

Here is an example of the redirection script (just save it under the root website and call it default.html (or whatever you want).

Code:
<html>
<script type="text/javascript">
<!--
    window.location = "[URL unfurl="true"]http://www.domain.com/virtualdirectory"[/URL]
//-->
</script>
</html>
 
Point them to an IIS server that you can change the default site to point to a "redirection to a URL" on the Home Directory tab and put in your

_______________________________________
I hope any help I give leads to great successes.
MCSE, MCSA, MCTS, CCA, VCP, CCNA
 
Star for jshurst!


_______________________________________
I hope any help I give leads to great successes.
MCSE, MCSA, MCTS, CCA, VCP, CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top