This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Apache how-to for cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]