X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: Subject: RE: Problem running Cygwin Apache2 as Windows XP service Date: Sat, 5 May 2007 15:59:58 +0100 Message-ID: <01ba01c78f26$0cb7cd90$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 04 May 2007 20:39, William Sutton wrote: > I cannot get Apache 2 under Windows XP Professional to run as a service > using cygrunsrv. In the present configuration, when I attempt to run a > simple environment variables cgi script, the error log tells me: > >> [Fri May 04 14:01:16 2007] [error] [client XXX.XXX.XXX.XXX] Symbolic link >> not allowed or link target not accessible: /srv/www/cgi-bin > > I'm thinking that the presense of symlinked directories shouldn't matter > since the configuration works just fine when apachectl is manually run via > an xterm. > > I've tried this using the SYSTEM user, my user, real directories, etc., with > no luck. From the command line, it works like a champ. Run as a service, > it fails. > > Any thoughts on what to do (details follow)? > - vhost in /srv > - mounting cgi-bin off a Samba export from a Linux box Do you have CYGWIN=smbntsec? > cygrunsrv -I apache -d "CYGWIN apache" -p /usr/sbin/apachectl2 -a "start" > (user set as the local 'William Sutton' user) Maybe the -i flag would help it behave more like it does from the commandline. 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/