Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <200502120253.j1C2qcWa022955@world.waena.edu> Reply-To: From: "Ronald S Woan" To: Subject: Apache as a Windows Service? Date: Fri, 11 Feb 2005 18:49:34 -0800 Organization: Seattle School of Hardknocks MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit have read /usr/share/doc/Cygwin/apache-1.3.29-1.README which indicates all you need is the -a "-F" flag. I did have to run rebaseall which cause httpd to fail which was fixed using setup to do a reinstall of apache. Problem now is I quit my shell that started the httpd daemon and disconnected, httpd dies, so it seems like the windows service is the best option to keep it running even when I am logged off. ronw AT brisket /usr/share/doc/Cygwin $ cygrunsrv -I apache -p /usr/sbin/httpd.exe -a "-F" ronw AT brisket /usr/share/doc/Cygwin $ cygrunsrv -S apache cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. ronw AT brisket /usr/share/doc/Cygwin $ /usr/sbin/httpd.exe -F Thanks, Ronald S Woan -- 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/