delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/18/09:58:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 18 Jan 2005 09:48:17 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: C u <chiu_chui_hui AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problems about CGI Programming on Cygwin
In-Reply-To: <BAY10-F1725EC2AF690DB159770B6BB8F0@phx.gbl>
Message-ID: <Pine.GSO.4.61.0501180940220.1614@slinky.cs.nyu.edu>
References: <BAY10-F1725EC2AF690DB159770B6BB8F0 AT phx DOT gbl>
MIME-Version: 1.0

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 <http://cygwin.com/problems.html>.  Note
that this list is not the place to ask general CGI programming questions.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019