Results 1 to 10 of 10

Thread: Zimbra and mod_proxy

  1. #1
    clancyian is offline New Member
    Join Date
    Jun 2006
    Posts
    3
    Rep Power
    9

    Default Zimbra and mod_proxy

    I have set up zimbra for my employer on one of our internal servers. I now want employee's to be able to access there email using the zimbra web client. We have a server in our DMZ that used to host squirrelmail to access our old imap server. I would like to use apache and mod_proxy on this server to reverse proxy requests from www.oursite.com/zimbra to the internal zimbra host. I've added the following lines to the apache server in the DMZ to reverse proxy to zim

    ProxyRequests Off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    ProxyPass /zimbra http://internal.host
    ProxyPassReverse /zimbra http://internal.host

    This works! almost. When i enter www.oursite.com/zimbra on my browser i get zimbra's distinctive grey background but not the login form.
    On inspection of my httpd error logs in the DMZ i noticed the following error:

    File does not exist: /var/www/html/js, referer: http://www.oursite.com/zimbra

    Can anyone see what i might be doing wrong ?. Has anyone else a setup similar to the one i am attempting. I'm sure others out there must have attempted this setup.
    Thanks
    Ian

    Note: web addresses above modified

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,469
    Rep Power
    56

    Default

    Welcome to the forums.

    Does this page tell you what you need to know?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    clancyian is offline New Member
    Join Date
    Jun 2006
    Posts
    3
    Rep Power
    9

    Default

    Yes thank you,
    That done the trick. only difference was that my apache was on a different server than Zimbra's.

  4. #4
    pbruna is offline Project Contributor
    Join Date
    Feb 2006
    Posts
    92
    Rep Power
    9

    Default

    Quote Originally Posted by clancyian
    Yes thank you,
    That done the trick. only difference was that my apache was on a different server than Zimbra's.
    Mine too, and works very good
    Patricio Bruna
    http://www.itlinux.cl

  5. #5
    rlustemberg is offline Junior Member
    Join Date
    Nov 2006
    Posts
    5
    Rep Power
    8

    Default Not me

    I am trying to do just as you did, to no avail. I have a Mac mini running OSX 10.4.9, Apache 1.3
    I am using the following settings:
    <VirtualHost *:80>
    ServerName revproxy.mydomain
    ProxyPass /zimbra http://zimbra.mydomain
    ProxyPassReverse /zimbra http://zimbra.mydomain
    </VirtualHost>
    I only get the html, all linked files (css, images,etc) give a 404 error
    Am I missing something crucial?

  6. #6
    gregor is offline Loyal Member
    Join Date
    Sep 2008
    Posts
    98
    Rep Power
    6

    Default

    hi,

    three years later i have the same problem.
    anybody solved the problem?

    greetings
    gregor

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,469
    Rep Power
    56

    Default

    Quote Originally Posted by gregor View Post
    three years later i have the same problem.
    What problem are you seeing, exactly? A 'me too' post doesn't really give anyone information with which to give you a sensible reply.

    Quote Originally Posted by gregor View Post
    anybody solved the problem?
    Doesn't the answer in post #2 solve your problem?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    gregor is offline Loyal Member
    Join Date
    Sep 2008
    Posts
    98
    Rep Power
    6

    Default

    i followed the wiki and other hints but i get to the login screen without css and images.
    the proxypass rules worked perfect for other sites (eg: BackupPC).

    i anybody would help and have time im on the #zimbra irc channel that hosted on chat.freenode.com

    greetings gregor

  9. #9
    maxxer's Avatar
    maxxer is offline Trained Alumni
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    552
    Rep Power
    7

    Default

    I've set up apache proxy myself.
    There are several directory you need to forward, you can get the list here:

    http://www.maxxer.it/2010/linux/set-...-proxy-zimbra/
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  10. #10
    gregor is offline Loyal Member
    Join Date
    Sep 2008
    Posts
    98
    Rep Power
    6

    Default

    thanks for the weblog entry and thanks to the fast help in the irc channel.
    now it works perfect.

    greetings
    gregor

    EDIT: thread can be marked as solved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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