By default cgi stuff is enabled by default (thats where all the security holes come from)
IIS really does not care where the cgi folder is placed as long the IIS has access and the Web pages now where it is.
But by default it is something like this
c:\Inetpub\scripts
Now are you going to do Script mapping like (ASP, PHP, or Foxweb) where you use ISAPI or are you going to do it the UNIX way and call the Engine in the URL?
I have wanted to set up CGI and Perl on my server but a big problem has come up, where do you go about getting the "stuff" to run this kind of scripting? Is it programs or what?
If you want to use ASP, it is already installed in IIS, you can run an ASP script anywhere in the webroot. If you want to run .EXEs you have to mark the folder as Executable (not just 'scripts only').
You have to run PERL scripts in a directory marked as executable as well. You don't need a shebang line in your windows PERL scripts. C:\DOS:>
C:\DOS:>RUN
RUN DOS RUN!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.