You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mike C <mc...@my-deja.com> on 2001/04/19 03:12:13 UTC

Starting Apache in foreground

How about this?

httpd -F 

http://andy.rz.uni-karlsruhe.de/~andy/source/Patches/apache-1.3.19/foreground-patch

-Mike

>> How do I start Apache in the foreground instead of as a daemon 
>>process?
>
>httpd -X 
>
>This put httpd in a single process mode, and it runs as a terminal
>process.
>
>Jin


------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/

Re: Starting Apache in foreground

Posted by "William A. Rowe, Jr." <ad...@rowe-clan.net>.
What does this accomplish that httpd -X does not?

----- Original Message ----- 
From: "Mike C" <mc...@my-deja.com>
To: <ne...@apache.org>
Cc: <da...@sweb.uky.edu>; <jz...@Bayou.UH.EDU>
Sent: Wednesday, April 18, 2001 8:12 PM
Subject: Starting Apache in foreground


> How about this?
> 
> httpd -F 
> 
> http://andy.rz.uni-karlsruhe.de/~andy/source/Patches/apache-1.3.19/foreground-patch
> 
> -Mike
> 
> >> How do I start Apache in the foreground instead of as a daemon 
> >>process?
> >
> >httpd -X 
> >
> >This put httpd in a single process mode, and it runs as a terminal
> >process.
> >
> >Jin
> 
> 
> ------------------------------------------------------------
> --== Sent via Deja.com ==--
> http://www.deja.com/
> 


Re: Starting Apache in foreground

Posted by rb...@covalent.net.
Running the server in the foreground is already supported in 2.0 with the
use of -DNO_DETACH.  I realize this doesn't help 1.3, but I would prefer
to not introducea new cmd line argument to 1.3 that is incompatible with
2.0.

Ryan

On Wed, 18 Apr 2001, Mike C wrote:

> How about this?
>
> httpd -F
>
> http://andy.rz.uni-karlsruhe.de/~andy/source/Patches/apache-1.3.19/foreground-patch
>
> -Mike
>
> >> How do I start Apache in the foreground instead of as a daemon
> >>process?
> >
> >httpd -X
> >
> >This put httpd in a single process mode, and it runs as a terminal
> >process.
> >
> >Jin
>
>
> ------------------------------------------------------------
> --== Sent via Deja.com ==--
> http://www.deja.com/
>
>


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------