0

My question is simple if i have multiple directories with pages like -

/admin/adminlogin.aspx

/user/userlogin.aspx

/default.aspx

i want to set default page for each directory how ever i can set default doc for root in web.config but is there any way to assign separate for each dir ? i didn't find it anywhere.

Inderpal Singh
  • 270
  • 2
  • 8
  • 24

1 Answers1

-1

You can easily do it from IIS. Go to IIS> your websit, set default document for each directories manually. it will add different config files automatically.

Otherwise if you are using single config the you can try <location> tag:

Click here fro more references!

Community
  • 1
  • 1
Sanjeev Rai
  • 6,721
  • 4
  • 23
  • 33