\cat software
Apache on Cygwin
I tend to forget the steps taken to install the apache server compiled with Cygwin as an NT service, so here it is.
- Create an environment variable: CYGWIN=ntsec
- cygserver-config
- cygrunsrv -S cygserver
- cygrunsrv -I httpd -d "CYGWIN httpd" -p /usr/sbin/httpd -a -F
- Change the User setting in /etc/apache/httpd.conf to SYSTEM
- Check the permissions of /var/run/httpd.pid and related log files.