Re: Virtual hosts + proxy

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

 



> Your namevirtualhost *:80 line should match what you have in your
> <VirtualHost *:80>

Thanks

> You'll also want a Listen 80 line somewhere.

It is already listenting on the default port (80), so I didn't add the
line.

> Some other things that I notice.  The first argument you have on
ProxyPass
> looks a lot like a file system path? It
> should not be.  It is the URL as you wish the Client to see.  The second
> argument is how the request will pass to the
> backend.  If the only website on 192.168.100.5 is mail.mydomain.com (or
> you are using namebased on your backend) you
> could get by with this simple configuration:
> 
> <VirtualHost *:80>
>         ServerName mail.mydomain.com
>         ProxyPreserveHost On
>         ProxyPass / http://192.168.100.5/
>  </VirtualHost>
> 

Yes! I thought the path needed to be the system path (dumb me!)
It worked like a charm (changing 192.168.100.5 to 192.168.100.6, that's
were the mail server is)
THANK YOU!!!
You solved a problem that I have been dealing with for a long time ...

Just to check if I understand what I'm doing: 192.168.100.5 serves as proxy
for 192.168.100.6
Does this means that 192.168.100.5 will be part of the interaction with
192.168.100.6 all the time? because this means overloading all the time
192.168.100.5..
Is there a way to accomplish the same thing, only that not using
192.168.100.5 as an intermediare??

THANKS!!! 


---------------------------------------------------------------------
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