Hello apachers!
I have a question, that I have researched extensively on the web, without
getting to work what I want.
Basically, we have different web pages on different hosts on my
Institution.
Since we have only one public IP, all the requests that get on port 80 are
forwarded to our main server (192.168.100.5) and we would like for that
server to redirect or proxy the request to other servers that serve other
pages. (for example, xxx.mydomain.com is on 192.168.100.5, but
mail.mydomain.com is on 192.168.100.6)

As I have red, to do this I have to create a virtual host on 192.168.100.5
to proxy to 192.168.100.6 when the request is for mail.mydomain.com.
The virtual host I have created is:
<VirtualHost *:*>
        ServerName mail.mydomain.com
        ProxyRequests Off
        ProxyPreserveHost On
        ProxyPass /opt/zimbra/httpd-2.2.8/htdocs/ http://192.168.100.5
        ProxyPassReverse /opt/zimbra/httpd-2.2.8/htdocs/ http://192.168.100.5
</VirtualHost> 

But requests to mail.mydomain.com get answered by 192.168.100.5 showing the
default page ..
What am I doming wrong??

Thanks in advanced...
Ignacio Avellino


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to