delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/30/13:54:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <003301c2f6ee$1260d360$646086d9@ellixia>
Reply-To: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
From: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>, <replies AT Frank-Schmitt DOT net>
References: <u65q0aowa DOT fsf AT hschmi22 DOT userfqdn DOT rz-online DOT de>
Subject: Re: Apache on cygwin
Date: Sun, 30 Mar 2003 19:56:25 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019