使用cygwin 运行 apache2
访问量: 2278
1. setup apache2. 使用cygwin自带的安装程序,在对应的apache2 item上打钩
2. /usr/sbin/apachectl2 start
会出错。 ./apachectl2: line 78: 4092 Bad system call $HTTPD -k $ARGV
见: http://stephensoftware.wordpress.com/2010/03/08/cygwin-apache-getting-it-to-run/
3. $ cygserver-config
4. $ net start cygserver
5. $ /usr/sbin/apachectl2 start
就可以了
打开: http://localhost/
显示: It works!