Using the SharePoint API, how can I modify an extended webapp web.config file?
I have to do some changes in this file to specify the connection string, membershipprovider, etc… for using Forms Authentication.
Currently, I can change the "master" webapplication web.config file, but not the extended one.
I'm using Sp 2007. I'm already using SPWebConfigModification class to modify the parent webapp. Thoses modifications are propagated to the extended webapp. I have to change ONLY the extended one. But I don't find the way to do it.
What I'm trying to achieve, is to program a little wizard that:
- Shows a WebApp list so the user can select one
- Extend that selected webapp to a different zone
- Configure that extended zone to use Forms Authentication