On 6/17/05, Trung Nguyen <[EMAIL PROTECTED]> wrote:
> Is this you're looking for?
> 
> <VirtualHost ipaddress:80 >
>         redirect / http://www.mydomain2.com
> </VirtualHost>

No, because he said that only only one of the internal hosts has a
publically-accessible IP address.  So he does, indeed, need to use
ProxyPass:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName host1.example.com
DocumentRoot /path/to/doc/root
</VirtualHost>

<VirtualHost *:80>
ServerName host2.example.com
ProxyPass / http://internal-host.example.com/
ProxyPassReverse / http://internal-host.example.com/
</VirtualHost>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to