Re: [users@httpd] Forwarding requests on a virtual host to another computer on a internal lan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/17/05, Trung Nguyen <trung.nguyen@xxxxxxxxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux