delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | "George Hester" <hesterloli AT hotmail DOT com> |
Subject: | Re: Cygwin and Apache? |
Date: | Fri, 19 Mar 2004 19:15:51 -0500 |
Organization: | Home |
Lines: | 50 |
Message-ID: | <c3g2fp$9l1$1@sea.gmane.org> |
References: | <c32fp3$pmv$1 AT sea DOT gmane DOT org> <c3dplb$4an$1 AT sea DOT gmane DOT org> |
Reply-To: | "George Hester" <hesterloli AT hotmail DOT com> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | alb-24-195-115-198.nycap.rr.com |
X-Newsreader: | Microsoft Outlook Express 5.50.4922.1500 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i2K0LnLp030818 |
Thank you Andew. I can't run it as service yet for IIS has control of port 80 at the moment. But when I'm ready to have it (Apache) listening on a different port then I'll be ready thanks to your directions. George Hester __________________________________ "Andrew DeFaria" <> wrote in message news:c3dplb$4an$1 AT sea DOT gmane DOT org... > George Hester wrote: > > >I installed the Apache module in Cygwin. All seemed to go fine there. I have used mostly IIS in Windows 2000 but lately started experimenting with Tomcat. Anyway I thought I would try Apache in Cygwin. After the installation I wasn't sure what to do next other then search the Web on "Cygwin Apache." Which is what I did and found this: > > > >http://www.phpfreaks.com/apache_manual/page/cygwin.html#inst > > > >Well I figured Cygwin would install Apache such that with little or no re-configuration on my part it would work. So I just started Cygwin in the bash shell (the default way Cygwin is installed) and typed "httpd" w/o the quotes. The result was that the command httpd was unrecognized. So I went to the directory structure of Cygwin and found that httpd.exe is NOT in C:\cygwin\usr\local\bin but in C:\cygwin\usr\sbin. > > > >What have I done wrong? > > > > > > > You didn't type /usr/sbin/httpd! :-) > > But seriously, after you get to that point and have configured your web > server to run you probably want it to run all the time, even when you > are not logged in. Then you need to add Apache as a service: > > $ cygrunsrv -I apache -p /usr/sbin/httpd -d "Apache for Cygwin" -f > "Apache Web Server running under Cygwin" -a -F > > The -a -F part tells Apache to do the right thing WRT running as a > service. Then start it with > > $ net start apache > > Oh and you probably should first add C:\Cygwin\Bin to your Windows > system environment variable PATH (I stick it in the front) and reboot > your system before doing the net start. > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |