Hi, I've created several IIS websites in my life, but some days ago a friend of mine asked me to host his website, so I created a folder within inetpub/wwwroot to store it.
Then, I created a virtual directory in my Default Web Site(the folder appears there as it's on wwwroot) and created the application, and allowed scripts & executables permissions. Also, I've set up the proper document types the website will have(default.aspx, asp, etc) and the folder has all the permissions i usually grant: iusr, iwmp, asp.net, network, etc.
When I reset IIS services and then look at the website(I've added the headers too) I get the following error:
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
I've been searching for a while on internet and the only thing I found is to allow Executables to my website, which I've already done.
But, when I deleted the asp.net pages and I only add an html file, it will display on the browser.
Does anyone have any clue about this?