Hi, I have an ASP page whose location is "http://localhost/MatricsReloaded/adminindex.asp"... I would like to just type "http://localhost/" or "http://localhost/MatricsReloaded" which should take me to the "adminindex.asp".... how can i make this ??... is there any configuration file available for that ?? THanks
IIS is typically looking for a default.asp page and you can modify this in IIS but if you are going to host this on a shared server where you don't have IIS control you could create a page called default.asp that on pageload response redirects to your /MatricsReloaded/adminindex.asp page. VB Code to redirect would be something like: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Response.Redirect("/MatricsReloaded/adminindex.asp") End Sub
set IIS for default documents (default is default.asp) so you can make your file name is default.asp, then ok
I second that last one - why don't you just name your page "http://localhost/MatricsReloaded/default.asp" where "default.asp" is your "adminindex.asp" page?
Step one: Open IIS Step two: Open Default Website properties Step three: Add "adminindex.asp" to the list of default documents Step four: Press ok, save changes, and presto. It works