You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by wr...@apache.org on 2001/08/16 02:51:34 UTC

Re: os-windows/8161: CGI scripts do not work when apache is run as a service

[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]


Synopsis: CGI scripts do not work when apache is run as a service

State-Changed-From-To: open-feedback
State-Changed-By: wrowe
State-Changed-When: Wed Aug 15 17:51:32 PDT 2001
State-Changed-Why:

Dexter, please try 1. compiling with msvc and see if that 
changes the behavior.  2. moving the cygwin binary to the
apache serverroot or the %SystemRoot%\system32\ directory,
or assure that the cygwin path is in the PATH env var for 
ALL users (you will need to reboot for this to take effect.)

The apache service runs in the context of the LocalSystem
(SYSTEM) user account.  Therefore, your path doesn't affect
the Apache service.

You already tried stopping the apache service, and ran
apache from the command line.  This often affects the way 
apps run, especially if they have any dependencies on the
GUI subsystem.  I dunno if cygwin makes some horrid
assumptions.   See...

http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0398/service2.htm&nav=/msj/0398/newnav.htm
[that's a single line]

Please report back what solved your headache.  Thanks.
Release-Changed-From-To: 1.3.20 (Win32)-1.3.20
Release-Changed-By: wrowe
Release-Changed-When: Wed Aug 15 17:51:32 PDT 2001
Severity-Changed-From-To: serious-non-critical
Severity-Changed-By: wrowe
Severity-Changed-When: Wed Aug 15 17:51:32 PDT 2001
Category-Changed-From-To: mod_cgi-os-windows
Category-Changed-By: wrowe
Category-Changed-When: Wed Aug 15 17:51:32 PDT 2001