View Complete Thread
  • Re: How to create new file config using cmd

    Jan 16, 2019 09:20 AM|Jalpa Panchal|LINK

    Hi,

    Try to access this command:

     

    Add-WebConfigurationProperty -pspath 'iis:\sites\php2' -filter "system.webServer/rewrite/rules" -name "." -value @{name='Redirect www.website.com' ;patternSyntax='Wildcard';stopPrcessing='True'}

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.