Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: C u cc: cygwin AT cygwin DOT com Subject: Re: Problems about CGI Programming on Cygwin In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. 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/