cgi on w2K

Posted on 2006-04-09
Last Modified: 2013-12-25
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
Question by:perlperl
    LVL 19

    Accepted Solution

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

    You can get Apache here: 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.
    LVL 19

    Expert Comment

    You need to select IIS as an optional component of your windows installation.
    quoting from
    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

    Author Comment

    i installed Apache,

    problem is
    i have to run ita s

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

    is there a way i can change the url.....
    LVL 19

    Expert Comment

    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 . If you are just testing on your local box you are stuck with using servername. I think the 8080 may be optional.
    LVL 51

    Expert Comment

    > 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
      <Directory /cgi-bin ..>
    LVL 19

    Expert Comment

    Has this helped you?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now