Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-2008, 04:48 AM
Starter Member
 
Posts: 2
Default Zimbra and apache proxy on diferent servers

I have a zimbra host installed over ubuntu 8.04 server. It has only 1 nic with a private address. My network is connected to internet througt another ubuntu 8.04 server, as a gateway firewall, apache sever.
I want to open ports 80 and 443 only to my gateway apache web server.
I need to proxy connections to zimbra server with my apache server, using mod_proxy.
I have followed tis article:
Provide HTTP(s) Integration with Apache - Zimbra :: Wiki
Using virtualservers.
Here is my site file:
<VirtualHost *:80>
ServerAlias correo.*
ProxyPass / Domain Name Registration, E-mail, Web Hosting
ProxyPassReverse / Domain Name Registration, E-mail, Web Hosting
ErrorLog /var/log/apache2/correo-error.log
</VirtualHost>

Ven i reload apache i get:
[Sat Nov 08 13:32:31 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results.

My zimbra box internaly resolves to mail.mydomain.com.
I would like to use externaly correo.mydomain.com or Domain Names, Shared Web Hosting and Site Design Tools - MyDomain.
All i have read in zimbra wiki is for zimbra and apache on the same box.
Any advice to do it with 2 boxes?
Thanks
Reply With Quote
  #2 (permalink)  
Old 11-10-2008, 01:57 PM
Starter Member
 
Posts: 2
Default

Finaly y have configured this way:

ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /correo http://192.168.1.2
ProxyPassReverse /correo http://192.168.1.2
<Location /correo>
Order allow,deny
Allow from all
</Location>


But now, when i go to Domain Names, Shared Web Hosting and Site Design Tools - MyDomain, y get a html login page.
If i try to log in, i get 404 error.

Can anybody help me with this?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.