Results 1 to 4 of 4

Thread: Proxy from apache2 via ProxyPass

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default Proxy from apache2 via ProxyPass

    I don't have the luxury of a dedicated email server in my small business. We currently have a machine running apache, php, mysql, postfix, etc. I would like to use zimbra, but can't give up the apache2, php, mysql parts immediately. So, I've read the forum posts and have tried to set up Zimbra on other ports, but have hit a snag. If I use the browser to go straight to the zimbra server:

    http://mailhost.example.com:8080

    All is well. However, when I try to use the proxy:

    http://mail.example.com

    Zimbra gives me a grey screen and stops. Anyone have any suggestions on where to start solving this problem? My apache config looks like this:

    Code:
    ServerName mail.example.com
    
    ProxyPass / http://mailhost.example.com:8080
    ProxyPassReverse / http://mailhost.example.com:8080



  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    If you want to reverse there are lots of other URLs. Like all the servlets defined in web.xml. I think you need to map all of them.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Apr 2006
    Posts
    49
    Rep Power
    9

    Default

    Thanks KevinH, the fix was a bit simpler. I just added a '/' on the end of each line.

  4. #4
    Join Date
    Aug 2009
    Posts
    18
    Rep Power
    6

    Default

    Thanks... works great! (I was doing the same dumb thing without the slash at the end too)

    HTML Code:
    <VirtualHost *:80>
      ServerName mail.example.com
      ProxyPass / http://192.168.0.202:8081/
      ProxyPassReverse / [url]http://192.168.0.202:8081/
    </VirtualHost>
    (had to use html tags, code tags didn't make it display right, sigh)
    Last edited by scott.serr; 09-02-2009 at 08:42 PM.

Similar Threads

  1. Server behind proxy having odd results for some functions
    By swallac2 in forum Administrators
    Replies: 9
    Last Post: 12-11-2009, 06:00 AM
  2. Zimbra https proxy with apache
    By haensse in forum Installation
    Replies: 20
    Last Post: 02-23-2008, 02:48 PM
  3. imap proxy enable/disable
    By kmuralidharan in forum Administrators
    Replies: 0
    Last Post: 07-23-2007, 03:31 AM
  4. How to make Zimbra use HTTP Proxy on outgoing requests?
    By martinm_76 in forum Installation
    Replies: 2
    Last Post: 09-03-2006, 09:13 AM
  5. reverse proxy zimbra
    By ojehle in forum Administrators
    Replies: 3
    Last Post: 03-13-2006, 09:48 AM

Posting Permissions

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