Problems about CGI Programming on Cygwin

Igor Pechtchanski pechtcha@cs.nyu.edu
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 <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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list