I am looking for ADSI code written in vbscript (ASP) that would allow me to modify the directory properties for a certain directory in a website in IIS.
Usually, in IIS the Home Directory tab, in the folder properties, the option "The designated directory" is chosen. I want to change that to "a redirection to a URL". I want the code to act based upon the website, the directory, and the URL i want that directory to forward to.
Please make sure that the code is functional and bug free, I am willing to work with you in order to debug and achieve the desired objective of the code.