I have a web application that runs off the domain: test.com using Windows Authentication. I want to create a subsite using the domain test.com/helloworld but I want this subsite to have a different type of authentication. Is it possible to create a new webapp as a subsite or just have the subsite use a different form of authentication?
I have a web application that runs off the domain: test.com using Windows Authentication.
Share
Yes, this is possible. We do it the other way around (Forms authentication on the outer site, windows authentication on the inner site.
The trick to making this work is in the main site, you will want to include your primary system.web configuration in a non-inheritable location tag.
For example:
then, in your sub site, you add a web.config that defines the settings for that site: