Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 13 Aug 2002 08:32:31 -0400 (EDT) From: Prentis Brooks To: Joel Hughes cc: cygwin AT cygwin DOT com Subject: RE: can CYGWIN have a different IP address to Windows? In-Reply-To: <000d01c2429e$2542dc80$0b46a8c0@orac> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Don't consider apache as a component of Cygwin, it is a separate app. Taken that way, you have 2 web servers on the same host (apache and IIS). You want to run both, but not on the same IP. So the solution is the same as it would be if you were running Win32 Apache and IIS on the same host, you give the Windows host 2 IP's and bind each web server instance to one or the other as you prefer. Does that clear it up a bit? On Tue, 13 Aug 2002, Joel Hughes wrote: > Hi Max, > the issue here is serving web pages. There is already a port 80 web server > on the laptop (IIS) and there is obviously apache in cygwin. > > I need cygwin because I need a *nix like dev env for a certain web site. I > don't really want to run cygwins apache on a different port. I need also to > run apache in a nix env rather than the win32 install. > > Obviously I can't run both web servers on the same port on the same IP. > Bruce came up with an interesting idea of giving the laptop 2 IPs and then > specify the two different IPs respectively in the two different webservers. > > The desired effect is not there yet - IIS still thinks it will serve off the > new IP (IP2). Even thought all websites on IIS (& FTP & SMTP) are running > bound to IP1, the IIS Master service still thinks its bound to all > applicable IPs (this is where I think the issue lies). If I can force IIS to > be more selective with its bound IP choice then I can get this done. > > Another more roundabout method (if I can't get IIS to ignore IP2) would be > to make the CYGWIN apache the main port 80 server and run IIS servers on > non-standard ports (& then use APache to proxy on). However, I feel this may > fall with the same problem as above - the default master web server > properties are hardcoded IP All Unassigned and Port 80. > > If I HAVE to amend the apache web application to run off a non-standard port > in dev then I will but I was searching for a more elegent solution which > allowed me to keep the dev & live envs more similar. > > > joel > -----Original Message----- > From: Max Bowsher [mailto:maxb AT ukf DOT net] > Sent: 12 August 2002 23:31 > To: joel AT jojet DOT com; cygwin AT cygwin DOT com > Subject: Re: can CYGWIN have a different IP address to Windows? > > > Joel Hughes wrote: > > Hi, > > I have CYGWIN installed on my Win2K server laptop. > > > > Can I assign CYGWIN a different IP address to that of my laptop? > > Cygwin != VMware, or anything like that. > > So, really, your question is more or less equivalent to 'Can I assign > Internet > Explorer and Outlook Express different IP addresses when they run on the > same > computer?' > > Max. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Prentis Brooks | prentis AT aol DOT net | 703-265-0914 | AIM: PrentisBrooks Senior System Administrator - Web Infrastructure & Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/