Investigate the ProxyPass / ProxyPassReverse directives.

They're used to tell Apache that the resource /whatever is available at
http://10.1.1.1/whatever and has apache reverse-proxy the connection for
you.

You could keep using virtual hosting on the IIS box, but it gets real
messy - it's best that you set up each site to a seperate address or
directory (address is better, in my mind)

The directives in the Apache VirtualHost section would be something like
(this is from memory -- read up on the directives before using it!):
 # Ensure that proxying is OFF - default, but nice to note seperately
 #  this is to prevent abuse of the apache server
 Proxy off
 # Tell Apache to forward requests to the IIS server
 ProxyPass / http://10.1.1.1/
 # This has Apache replace all instances of http://10.1.1.1/ with
my.host.name/
 ProxyPassReverse / http://10.1.1.1/


And that should help you to do what you need.

Jamie



On Fri, October 1, 2004 4:03 am, Shawn said:
> Found yet another problem...
>
>
> The IIS server in question is using named virtual hosts to provide a few
> different web sites, for two domains, and a couple of sub domains.... This
> ought to be REAL fun... NOT.
>
> It'll probably be easiest (for me at least) to remove the virtual hosts
> from the IIS server, and point the Apache server at appropriate sub
> folders...
>
> This is beyond my skill with Apache, but I'll keep digging.  Any insights
> are appreciated...
>
> Shawn
>
>
> On Friday 01 October 2004 01:31, Shawn wrote:
>
>>> I've been reading over the Apache rewrite rules and the URL Rewriting
>>>  guide (http://httpd.apache.org/docs-2.0/misc/rewriteguide.html), but
>>> seem to be missing the solution to my particular problem.
>>>
>>> I need to set up an IIS server on my network, and allow access to it
>>> via it's own domain (for instance, http://www.newdomain.ca).  Part of
>>> the solution is to set up a named virtual host for the domain, and
>>> I've done
>>> that.  What I'm missing is how to tell the virtual host that the
>>> document root is on a different server, and to mangle the URLs
>>> accordingly in both directions so web pages and/or redirects happen
>>> properly.
>
> _______________________________________________
> clug-talk mailing list [EMAIL PROTECTED]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>
>


-- 
Jamie Furtner [EMAIL PROTECTED] <--- Note the new address!
"The difference between intelligence and stupidity is that
 intelligence has its limits."
  --unknown


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to