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 : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 



-----Original Message-----
From: Matt Parlane [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 4:41 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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
[EMAIL PROTECTED]

"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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:[EMAIL PROTECTED]]
> Sent: 09 July 2002 4:41 PM
> To: Brian McGarvie; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> 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 : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
>
> -----Original Message-----
> From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 10:39 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to