Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i setup CGI? 1

Status
Not open for further replies.
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?


Thanks
 
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').

To get PERL on your server, go to
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!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top