First, here’s a good way to see what you have available in code…
<form id="form1" runat="server"> <div> <% For Each key As String In Request.ServerVariables.AllKeys%> <p><%= key %>: <%=Request.ServerVariables(key)%></p> <% Next %> </div> </form>
But in general all you need to do is read the following:
http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-2005-sp1.aspx