This is the mail archive of the
mailing list for the Cygwin project.
Re: Problems about CGI Programming on Cygwin
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: C u <chiu_chui_hui at hotmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 18 Jan 2005 09:48:17 -0500 (EST)
- Subject: Re: Problems about CGI Programming on Cygwin
- References: <BAY10-F1725EC2AF690DB159770B6BB8F0@phx.gbl>
- Reply-to: cygwin at cygwin dot com
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
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.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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