Results 1 to 5 of 5

Thread: Apache ModProxy to zimbra?

  1. #1
    Join Date
    Jan 2006
    Posts
    33
    Rep Power
    9

    Default Apache ModProxy to zimbra?

    I have my webserver setup to port 80 and zimbra to port 8080. I have a virtualHost setup with modproxy that passes all requests from mail.MYDOMAIN.com to mail.MYDOMAIN.COM:8080 to connect with zimbra. It bounces around to the ssl port and then ends up back on 8080.

    How do I configure modproxy to prevent this. I would like it to stay always on port 80 inside my virtual.

    I'd be fine with having the zimbra-apache on port 80 and move tomcat to 8080, so long as I can setup the same virtual. Right now I have the zimbra-apache on the default 7780. Since they are on differnt ports the two instances of apache con coexist.

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    zimbra-apache is for the spellcheck server, not for the email app - the email app runs in tomcat only.

  3. #3
    Join Date
    Oct 2005
    Location
    Harrisburg, Pennsylvania
    Posts
    155
    Rep Power
    10

    Default

    Quote Originally Posted by kbaker
    I have my webserver setup to port 80 and zimbra to port 8080. I have a virtualHost setup with modproxy that passes all requests from mail.MYDOMAIN.com to mail.MYDOMAIN.COM:8080 to connect with zimbra. It bounces around to the ssl port and then ends up back on 8080.

    How do I configure modproxy to prevent this. I would like it to stay always on port 80 inside my virtual.
    One way to do this is to use mod_jk instead of mod_proxy. The mod_jk module is designed to talk directly to Tomcat.

    There's a HOWTO on setting this up for Zimbra here on the wiki:

    http://wiki.zimbra.com/index.php?tit...e_%28mod_jk%29

    I recently set that up and it works pretty well.

    That is, Zimbra runs on port 7080, but none of my users ever see that. As far as the users can tell, requests are all going through port 80.

    Good luck!
    -Eric

  4. #4
    Join Date
    Mar 2006
    Location
    Kansas City
    Posts
    36
    Rep Power
    9

    Default

    As was stated, mod_jk may work just as well, as that's what it is designed for. Otherwise, if you are set on using mod_prozy, it should be fairly straight forward, although I do typically provide it a URL to redirect off.

    For example, in your situation, you would have the following in the configuration for your virtual host:

    ProxyPass /zimbra http://mail.MYDOMAIN.COM:8080/zimbra
    ProxyPassReverse /zimbra http://mail.MYDOMAIN.COM:8080/zimbra

    Dont forget the /service proxy, otherwise you will not be able to log in.

    ProxyPass /service http://mail.MYDOMAIN.COM:8080/service
    ProxyPassReverse /service http://mail.MYDOMAIN.COM:8080/service

    This is how I currently have my Zimbra installation set up; I proxy all requests to my Zimbra server from my primary webserver.

    Good luck.

  5. #5
    Join Date
    Feb 2006
    Posts
    38
    Rep Power
    9

    Default

    In 3.0.1 I've been unable to get mod_jk to work with zimbra. The connector is there, and is passing things correctly to tomcat, though there appears to be an issue in the soap messaging that causes zimbra to not work correctly.

    After about two days of that I went ahead and used mod_proxy and have had no issues.

Similar Threads

  1. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  2. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 09:55 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 12:59 PM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 12:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •