Re: Single website Unix + Windows servers

From: Date: Fri, 12 Jul 2002 07:03:19 +0000
Subject: Re: Single website Unix + Windows servers
References: 1 2  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-107327@lists.php.net to get a copy of this message
Try: http://www.phpbuilder.com/columns/banahan20010720.php3 I'd also try setting up Apache on your windows box - on a different port if you have to. It just moves you one step closer to what it would be like running on linux. Matt "Olinux" <olnx@yahoo.com> wrote in message news:20020712064550.39626.qmail@web11801.mail.yahoo.com... > I am working on integrating our current website to > apache/redhat/php/mysql > > Due to a recent investment in an ASP project I must > have the windows / SQL server machine running this > application. > > Any suggestions to keeping the site 'seamless' or > ideas that will help > > Thank you, > olinux > > > --- Matt Parlane <matt@zevi.net> wrote: > > Hi Brian... > > > > I have it set up just like Robert, and I really > > think it's the way to go - > > having Apache as the web-accessible server gives me > > much more peace of mind > > than having IIS sitting out there just waiting to be > > attacked. > > > > Do you realize you can have content served by IIS > > accessed without using the > > :8080 (or whatever) port number? > > I'm not sure if you're aware of this but here's the > > relevant parts of my > > httpd.conf: > > > > NameVirtualHost * > > LoadModule proxy_module modules/mod_proxy.so > > LoadModule proxy_connect_module > > modules/mod_proxy_connect.so > > LoadModule proxy_http_module > > modules/mod_proxy_http.so > > > > <VirtualHost *> > > ServerName zevi.net > > ServerAlias zevi.net www.zevi.net > > ProxyRequests Off > > ProxyPass / http://zevi.net:4040/ > > ProxyPassReverse / http://zevi.net:4040/ > > </VirtualHost> > > > > <VirtualHost *> > > ServerName newworkstudio.com > > ServerAlias newworkstudio.com www.newworkstudio.com > > DocumentRoot "C:/htdocs/newworkstudio.com" > > DirectoryIndex index.html > > </VirtualHost> > > > > So, for each ASP site (or for each site served by > > IIS), just add a > > VirtualHost entry using the ProxyPass directive to > > send it to the IIS > > server. The IIS server doesn't have to be on the > > same computer by the way - > > or even the same network... > > > > Hope that helps. > > > > Matt Parlane > > Zevi Interactive > > matt@zevi.net > > > > "Brian McGarvie" <bmcgarvie@lennox-mckinlay.co.uk> > > wrote in message > > > news:1E6C09BA9AA33E408D6531ADE236DD01060F5E@ad2.lan.lennox-mckinlay.co.uk... > > I will probably do this the other way round as we > > have a few sites... > > > > so if i have a single file with a frame and point > > contents of frame to > > apache this should work? > > > > > -----Original Message----- > > > From: Collins, Robert [mailto:RCollins@NORTA.COM] > > > Sent: 09 July 2002 4:41 PM > > > To: Brian McGarvie; php-windows@lists.php.net; > > > php-general@lists.php.net > > > Subject: RE: [PHP] Dual Server... > > > > > > > > > I have Apache and IIS coexisting on my intranet > > server and > > > the way I set > > > them up was to put each on a different port. > > (Apache serves > > > http://intranet > > > and IIS serves http://intranet:8080) this appears > > to work > > > fine. Hope this > > > helps > > > > > > Robert W. Collins II > > > Webmaster > > > New Orleans Regional Transit Authority > > > Phone : (504) 248-3826 > > > Fax: (504) 248-3866 > > > Email : rcollins@norta.com > > <mailto:rcollins@norta.com> > > > > > > > > > > > > -----Original Message----- > > > From: Brian McGarvie > > [mailto:bmcgarvie@lennox-mckinlay.co.uk] > > > Sent: Tuesday, July 09, 2002 10:39 AM > > > To: php-windows@lists.php.net; > > php-general@lists.php.net > > > Subject: [PHP] Dual Server... > > > > > > > > > OK following from my thread 'Browser Issues' I > > have found > > > that when serving > > > the site from apache, that the aforementioned > > errors go > > > away... mostly... > > > > > > OK so... What is the best way to setup so that > > IIS/Apache co-exist... > > > > > > I'd like to keep the 'entry' to the site on IIS as > > we have other sites > > > too... and use apache to serve the content of it. > > > > > > Any help mucho appreciated... also working to a > > deadline! > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: > > http://www.php.net/unsub.php > > > > > > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com

« previous php.general (#107327) next »