Problems about CGI Programming on Cygwin

Igor Pechtchanski
Tue Jan 18 14:52:00 GMT 2005

On Tue, 18 Jan 2005, C u wrote:

> 1. How can I run Apache as a service on cygwin?

1a. Install the "apache" package.
1b. Read /usr/share/doc/Cygwin/apache-1.3.29-1.README.

> 2. How can I execute a CGI program residing in an Apache server which is
> running on Cygwin via my Internet Explorer?

2a. Install and test the apache service (see 1a and 1b).
2b. Make sure the CGI program is executable, that all the needed DLLs are
executable by the user "nobody" (which httpd runs as), and that apache is
started and running.  I believe by default apache only accepts CGI
programs in cgi-bin (see /etc/apache/httpd.conf).
2c. Connect with IE to http://localhost/cgi-bin/yourprog.cgi (with the
default setup).

BTW, most of the information above is contained in the apache README in
/usr/share/doc/Cygwin/apache-1.3.29-1.README, in the "Installing apache as
service" section.  It does pay to read the documentation occasionally.

If you have trouble with your apache installation, please provide the
exact details of what you did, what fails, and in what way does it fail
(i.e., what error messages, symptoms, etc).  Please follow the Cygwin
problem reporting guidelines at <>.  Note
that this list is not the place to ask general CGI programming questions.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list