* RE: New apache 2.4 package
@ 2015-07-08 18:15 Habermann, David (D)
0 siblings, 0 replies; 3+ messages in thread
From: Habermann, David (D) @ 2015-07-08 18:15 UTC (permalink / raw)
To: cygwin
> I was trying to install the new httpd (apache 2.4) package today, and can't
> seem to find the equivalent of the old /usr/sbin/httpd2-config file (which
> created the Windows service). Does that still exist? If so, can you please
> point me to where it lives now? Or is service creation now a manual task?
> I tried find -iname "*-config" from / and did not find it.
After digging a bit more, I found additional -k options on the httpd man page, which would suggest that
/usr/sbin/httpd -k install
might install httpd as a windows service. However, when I do this I get an "illegal usage" message, along with the usage help (which does not include the -k install option, but only start/restart/graceful/graceful-stop/stop for -k). I suspect that when the man page says "only on the Windows platform" they are not referring to Cygwin, but native windows instead.
As a result, I moved further on to simply using cygrunsrv. The old httpd2_config file creates some directories and then does:
cygrunsrv -I httpd2 -d "CYGWIN Apache2 web server" -p /usr/sbin/httpd2 -a "-DNO_DETACH -k start"
so I believe that this should work (minus all the twos).
Dave
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New apache 2.4 package
2015-07-08 12:58 Habermann, David (D)
@ 2015-07-08 18:23 ` Yaakov Selkowitz
0 siblings, 0 replies; 3+ messages in thread
From: Yaakov Selkowitz @ 2015-07-08 18:23 UTC (permalink / raw)
To: cygwin
On Wed, 2015-07-08 at 12:57 +0000, Habermann, David (D) wrote:
> I was trying to install the new httpd (apache 2.4) package today, and can't
> seem to find the equivalent of the old /usr/sbin/httpd2-config file (which
> created the Windows service). Does that still exist? If so, can you please
> point me to where it lives now?
/etc/rc.d/init.d/httpd install
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* New apache 2.4 package
@ 2015-07-08 12:58 Habermann, David (D)
2015-07-08 18:23 ` Yaakov Selkowitz
0 siblings, 1 reply; 3+ messages in thread
From: Habermann, David (D) @ 2015-07-08 12:58 UTC (permalink / raw)
To: cygwin
I was trying to install the new httpd (apache 2.4) package today, and can't seem to find the equivalent of the old /usr/sbin/httpd2-config file (which created the Windows service). Does that still exist? If so, can you please point me to where it lives now? Or is service creation now a manual task? I tried find -iname "*-config" from / and did not find it.
Thanks so very much for the incredible toolset!
Dave Habermann
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-08 18:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08 18:15 New apache 2.4 package Habermann, David (D)
-- strict thread matches above, loose matches on Subject: below --
2015-07-08 12:58 Habermann, David (D)
2015-07-08 18:23 ` Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).