Alternative Access Mapping Configuration

If you have an alternative access mapping for a SharePoint web application such as domain.com and www.mydomain.com and you wish to enable SharePoint Live Authentication for other access mapping, you should just run add.bat for each access mapping with appreciating access mapping url specified in your SharePoint Web Application Alternative Access Mapping. To do this just do the following steps:

Open vars.bat and set url to http://mydomain.com

Execute run.bat

Open vars.bat and set url to http://www.mydomain.com

Execute run.bat

You can also copy Shetab SharePoint Live Authentication's "Configure" folder and specify var.bat for each Alternative Access Mapping, in this case you don't need to change url each time you change a setting.