This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Problem running Cygwin Apache2 as Windows XP service
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 5 May 2007 15:59:58 +0100
- Subject: RE: Problem running Cygwin Apache2 as Windows XP service
- References: <Pine.LNX.4.58.0705041536200.26549@dargo.trilug.org>
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/