delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/14/16:54:33

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Apache how-to for cygwin
Date: Sun, 14 Jan 2007 21:54:10 -0000
Message-ID: <018e01c73826$8593d800$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <012a01c73823$36295e00$84017ece@jabelxp>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On 14 January 2007 21:30, Jay Abel wrote:

> I must have googled the wrong terms, 

  Going to google in the first place was wrong.  Cygwin comes with
documentation, you only had to look as far as your own hard drive!

/usr/share/doc/Cygwin/apache-1.3.33.README

  You don't actually say what you did in your experiments to get it running,
but you've probably mangled the perms on important files in the process.  (If
a file doesn't exist when you run apache for the first time, it creates that
file.  If it's running as an unexpected user, it may end up creating that file
with perms that prevent it from re-accessing the file when you later try
running apache as a different user).  Pid and log files are particularly
vulnerable to this problem, so be aware you may need to delete or chown some
of them to get it up and running when you follow the README instructions.

  BTW, a process needs to run as a user.  Trying to run it as a group
("Administrators, Users, or None") doesn't make sense.  I don't know if giving
write access to /var/run for users is a good thing either, but it's the way my
installation runs:  /var/run has rwx for user and group, the user is my
username and the group is 'Users'.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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