• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

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
0
perlperl
Asked:
perlperl
  • 4
1 Solution
 
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
 
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
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now