Link to home
Start Free TrialLog in
Avatar of mmbc_voltron
mmbc_voltron

asked on

IIS 5.0 and CGI scripts

I just installed IIS 5.0  so I can use CGI scripts.
Will I be able to. and if so where do I put it. I got a book on ISS and they seem to stay away from CGI and use asp but I tried there sample asp and it didn't work. maybe im notputting the files in the right place.
where would I put CGI scripts?
Avatar of herrmann1001
herrmann1001

This is the default location of the scripts library for IIS5.0

C:\inetpub\wwwroot\myserver\script

well, myserver, is ofcourse your server name...
Avatar of mmbc_voltron

ASKER

What if I put the Intranet folder off the root of to C:\
Would it go in there.
Should I be using the wwwroot folder instead?
see www.aspfaqs.com > the nature of things
www.w3schools.com for a intro to asp
www.learnasp.com > classic asp

Try this:

<html>
<body>
<% response.write "hello world"
%>
</body>
</html>


save it to your wwwroot folder as hello.asp

open your web broswer. type in \\localhost

what do you see? an error page?- IIS not running (go to SERViCES and start WWW). See a list of files or a web page? IIS is running. now type (in the browswer) \\localhost\hello.asp

HTH
My question was with cgi not asp
I installed activestate so I can use perl scripts and cgi scripts but How do activate them. I added the .pl file in IIS to perl.exe but I still don't know where to put the .pl files and the cgi scripts. there is no DIR of cgi_bin folder. Do I have to create a folder.
My question was with cgi not asp
I installed activestate so I can use perl scripts and cgi scripts but How do activate them. I added the .pl file in IIS to perl.exe but I still don't know where to put the .pl files and the cgi scripts. there is no DIR of cgi_bin folder. Do I have to create a folder.
ASKER CERTIFIED SOLUTION
Avatar of martianism
martianism

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
One other point....

I would strongly advice that you download ans install the IIS lockdown tool / URL scanner from Microsoft and learn how to configure it (its not too hard) if you server is to be internet facing.  This will prevent numerous attack types and is probably the best thing MS has ever made...  >80)

--
Martianism