This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Apache on cygwin
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,<replies at Frank-Schmitt dot net>
- Date: Sun, 30 Mar 2003 19:56:25 +0100
- Subject: Re: Apache on cygwin
- References: <u65q0aowa.fsf@hschmi22.userfqdn.rz-online.de>
- Reply-to: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
> I'm wondering how to start the Apache server provided as a Cygwin
> package. I can only find httpd.dll but no httpd.exe, so do I have to
> work with rundll32 or is this package not intended to work as a stand
> alone server but only to fulfill dependencies?
The Apache server (httpd) can be started as a service on Windows NT/2000/XP
using cygrunsrv. The package itself contains a httpd binary in /usr/sbin and
can be started in either of the following ways
Installing snd starting on NT
$ cygrunsrv -I httpd -d "CYGWIN httpd" -p /usr/sbin/httpd -a '-k'
and to start it
$ cygrunsrv -S httpd
Plain running on Win9x (due to lack of a Service Manager)
$ apachectl start
> I also couldn't find a man or info page and the stuff under /usr/docs
> wasn't really helpful either.
There is a manual page installed with the package (try `man 8 httpd') and if
it doesn't work, ie. returns with "No manual entry for httpd" there's always
`/usr/sbin/httpd -h' as well as the package README in /usr/doc/Cygwin.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/