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.
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!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.