cgi on w2K

i have windows 2000 Pro.

How do i set up to run CGI pages

Do I need Apache or IIS? and from where do i get this
perlperlAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kim RyanIT ConsultantCommented:
Yes you need a web server to create pages from CGI requests, APache or IIS will do.

You can get Apache here: http://httpd.apache.org/download.cgi then pick Win32 Binary (MSI Installer): apache_2.0.55-win32-x86-no_ssl.msi

Documentation is good and will tell you how to configure web server for your chosen language, Perl, PHP etc.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kim RyanIT ConsultantCommented:
You need to select IIS as an optional component of your windows installation.
-----
quoting from http://www.iis-resources.com/modules/wfsection/article.php?articleid=10
IIS is no longer available for download as it is part of the OS.

IIS 4 was the last version of IIS that was available for download. Since the advent of Windows 2000, IIS has been part of the OS & is NOT available for download.

OS Version - IIS Version
----------------------------------------------
Windows 2000 - IIS 5
WindowsXP Pro - IIS 5.1
Windows Server 2003 - IIS 6
0
perlperlAuthor Commented:
i installed Apache,

problem is
i have to run ita s
http://servername:8080/cgi-bin/test.cgi

i have to place all my files in c:\program files\apache......\cgi-bin

is there a way i can change the url.....
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Kim RyanIT ConsultantCommented:
What do you want the url to be? If you have regiestered a domain name and have access to some hosting service, you can place all your code there and refer to it as  www.mydomain.com/cgi-bin/test.cgi . If you are just testing on your local box you are stuck with using servername. I think the 8080 may be optional.
0
ahoffmannCommented:
> is there a way i can change the url.....
change in which way?
do you mean an alias, then use something like following in your httpd.conf and restart apache:

  Alias /testme /cgi-bin/test.cgi

or do you mean to change the /cgi-bin part, then go to your httpd.conf and change the corresponding
  ScriptAlias
and
  <Directory /cgi-bin ..>
0
Kim RyanIT ConsultantCommented:
Has this helped you?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.