This is the mail archive of the 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 1.3.22-3 ready to go?!

On Wed, Jan 16, 2002 at 09:22:07AM +0100, Stipe Tolj wrote:
> Corinna Vinschen wrote:
> > If you could patch httpd to get a new option which differs from the
> > usual run mode only by not forking and detaching the master process,
> > we could start it using cygrunsrv as well.  That shouldn't be too
> > hard.  The -D option in sshd is really just skipping a function call
> > `daemon()'.
> ok, I'll put my hands on it. 


> BTW, is this going to be released then as package apache-1.3.22-4 or
> do we version back to -1? -- I guess users may be confused and may
> assume there have been 3 previous releases? Anyway I vote for -4,
> otherwise we would break the "respect revision numbers in any case"
> rule.

I think we can just begin with -4.  IIRC, it's not the first
package.  Our subversions are just way smaller than in most Linux
distros :-)

> > Otherwise we could upload apache as is but with a description how
> > to start under inetd in the /usr/doc/Cygwin/apache* README.  I'd
> > ask you to implement the above option, though.
> yep, today.

Btw., I've found the description how to install apache as service
under cygrunsrv.  The only problem was that it's on a html page
so I first found it after I already had installed apache under inetd.

There's a small glitch in there.  It uses the /usr/local/apache/bin/httpd
path instead of /usr/sbin/httpd.  

I tried to start apache under cygrunsrv using the description but
it forks as I expected, so cygrunsrv reports

  cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
  The service has not been started.

and I couldn't contact apache with a browser even if there was an
instance of apache running.  While there's not the option to
start it correctly under cygrunsrv... do I have to give some
other option?  In my httpd.conf I changed

  ServerType inetd

back to

  ServerType standalone

and added

  User Guest
  Group Guests

That apache process was running under SYSTEM account, though.  Am I
doing something wrong?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

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