X-Spam-Check-By: sourceware.org Message-ID: <45AAA20A.2050106@gmail.com> Date: Sun, 14 Jan 2007 14:35:06 -0700 From: Morgan Gangwere <0 DOT fractalus AT gmail DOT com> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Apache how-to for cygwin References: <012a01c73823$36295e00$84017ece AT jabelxp> In-Reply-To: <012a01c73823$36295e00$84017ece@jabelxp> OpenPGP: id=5231E2FA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 a standard install of Apache should be fine. after that, ask the apache people for setup stuff. they will help. Jay Abel wrote: > I must have googled the wrong terms, for the only reference I found > [apparently] left out a few details. My installation of XP (home) > wouldn't allow the service to run as system (it would just exit with a > cryptic error from Windows that it wasn't allowed to do something vague > -- I suspect it was trying to change users but I don't know for sure). > > If run as another user the setup of the var directory is critical, all > permissions need to be just so or it exits without starting (or giving > any useful error message in the log file). Also, the paths as > distributed don't agree with the ones in the howto from apache.org, I > couldn't find / didn't know where to look for, a *real* cygwin version > by the package maintainer. > > I'm sure that such a howto exists but I just couldn't find it. Could > someone who has set up apache as a service please point me to the > correct document if it exists? > > I did finally get it running as a service, but that required setting > permissions on /var/run more permissive than I would like. Sadly on XP > home, you cannot define new groups so you have to choose from > Administrators, Users, or None. I don't want apache to run as an > administrator for security reasons, but I'm not sure that giving write > access to the /var/run directory to Users is a good thing either (am I > wrong here?). > > I suppose there is a way to tell apache to put its .pid file in a > different directory, so this might be the best approach if I knew how to > do it. (like /var/run/apache/...) > > If the howto is in need of work, I'm not just complaining, but willing > to work on it under the maintainer's direction if such help is needed > and wanted. > > I was running the native version of apache but plan to migrate this > server to linux once volume picks up and didn't want a horrible job > fixing things when I do that, so it seemed like a reasonable thing to > switch to the cygwin version. So far, other than the problem with the > /var/run directory, which I can live with, it does everything I need. > > I noticed while looking that httpd2 is available, should I be thinking > about using that instead? That is, are there compelling reasons to > switch (such as support being dropped for version 1 or significant > improvements)? > > Jay > > -- > 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/ > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) iD8DBQFFqqIKXIyDjlIx4voRAmPnAJ92zScI8sacxn1ZuB/1u3TDW2jpAACdE/8e F21VwAN0WXTJaSTOTdQJW1g= =EH5M -----END PGP SIGNATURE----- -- 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/