RE: [PHP] Dual Server...
| From: | Collins, Robert | Date: | Tue, 09 Jul 2002 21:43:58 +0000 |
| Subject: | RE: [PHP] Dual Server... | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-106586@lists.php.net to get a copy of this message | ||
Matt,
I dont know if this helpped Brian but it just saved me a huge headache with
some of the presonal settings on my intranet
THANKS!
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: Matt Parlane [mailto:matt@zevi.net]
Sent: Tuesday, July 09, 2002 4:41 PM
To: php-windows@lists.php.net; php-general@lists.php.net
Subject: Re: [PHP] Dual Server...
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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php