Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Utilising appHostAuthOverride with Web Deploy v3

$
0
0

Hi,

I have a site called 'Atest'. I would like to enable 'Basic Authentication' using version 3 of Web Deploy on 'Atest'.

Running this command almost does the job:

"c:\Program Files\IIS\Microsoft Web Deploy v3\msdeploy.exe" -verb:sync -source:ApphostAuthOverride -dest:ApphostauthOverride="Atest;basicAuthentication=Allow"

It adds this to applicationHost.config:

<location path="Atest" overrideMode="Allow"><system.webServer><security><authentication><basicAuthentication /></authentication></security></system.webServer></location>

Using msdeploy.exe is there a way to enable 'Basic Authentication' ?  I'm guessing there is a way to easily change the basicAuthentication node above to:

<basicAuthentication enabled="true" />

Any ideas appreciated.

Eddie.




Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>