This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Apache on cygwin


> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]