delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/29/12:59:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: <001201c4d63d$6663c460$0200000a@agamemnon>
From: "Jon A. Lambert" <jlsysinc AT alltel DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <4184EAAF DOT 7000502 AT familiehaase DOT de> <008e01c4d5fd$612e8f60$0200000a AT agamemnon> <009901c4d5fe$074246d0$0200000a AT agamemnon> <Pine DOT GSO DOT 4 DOT 61 DOT 0411290823470 DOT 5724 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: httpd-2.0.52 (Apache2) testers wanted / maintainer searched
Date: Mon, 29 Nov 2004 13:01:06 -0500
MIME-Version: 1.0
X-IsSubscribed: yes

Igor Pechtchanski wrote:
> On Mon, 29 Nov 2004, Jon A. Lambert wrote:
>
>> Jon A. Lambert wrote:
>>> But now how do I run this build-script and from where?
>>
>> Sorry some additional information of what I tried
>> [snip]
>> jlambert AT agamemnon /oem-install
>> $ ./httpd-2.0.52-1.sh               <------- doesn't seem to do
>> anything
>
> Did you actually take a look at the script?  It's a shell script, and
> should be easily readable.  The argument processing is at the very
> end.

Ah!   I now see it does everything for me automagically if everything is 
sitting in the right place.  I had deleted the Apache source after manually
untarring it.  Anyway I got it everything built and running.

In case anyone else is trying it out, I also had to do the following:

Manually run the postinstall
$ /etc/postinstall/httpd.sh

Edit the /etc/apache2/httpd.conf
At the very minimum you need to change ServerRoot
ServerRoot "/var/www"

Add a user - nobody is the default in the conf file - I used www
$ net user nobody /add /fullname:"Cygwin Apache2" 
/homedir:"c:\cygwin\var\empty" /active:no
$ mkpasswd -l -u nobody >> /etc/passwd

Change the permissions on this directory as the script creates it under my 
id
$ chmod o+w apache2

Add the environment option "CYGWIN=server" to the service install.
$ cygrunsrv -I apache2 -p /usr/sbin/httpd -a "-DNO_DETACH" -d "CYGWIN 
Apache2" -o -y cygserver -e "CYGWIN=server"

Thanks for your help. 


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

- Raw text -


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