Daniel wrote:
> Hey,
>
> I was wondering if someone could enlighten me on what possiblities I
> might have to do the following:
>
> 1 IP from ISP ---> netopia router ---> 2 internal IPS
>
>
>
> From my understanding of port forwarding, all port 80 requests will go
> to one internal IP.
Yes, unless your netopia router is able to make some kind of layer7 magic.
If I set it to go to my Apache/Redhat server, can
> I set it to forward all the requests for the catalog subdomain to the
> proprietary OS/Webserver running on another internal IP?
I suggest you use mod_rewrite and configure 2 named based virtual hosts.
The first will simply make a transparent proxy to your catalog, and the
other serve the other domain locally.
Exemple ( may not work ):
<VirtualHost *>
RewriteEngine on
RewriteCond %{SERVER_NAME} "catalog.your.domain"
RewriteRule ^/(.*)$ http://<local ip of catalog server>/$1 [P]
RewriteCond %{SERVER_NAME} "www.your.domain"
RewriteRule ^/(.*)$ $1 [L]
</VirtualHost>
> Cheers,
> Daniel
|