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

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 12-05-2007, 04:28 PM
Junior Member
 
Posts: 8
Default Zimbra Proxy allowedDomains and SSL

I've hit another snag with my Zimlet. Please check out this thread to catch up to where I'm at, at the moment: Click Me.

After getting things to where I wanted them I switched over to another server to handle the data that Zimbra is sending using my zimlet. I changed the allowedDomains to point to the new server, and redeployed the zimlet, restarted tomcat, and refreshed my Zimbra session; yet I'm getting a 403 error. The only difference is that I'm using SSL on the remote server now. So rather than "http://my.test.server/test/emailr.php" it's "https://my.production.server/misc/emailr.php". Is there another property that has to be set in the config_template.xml file to work with SSL? Does the proxy work with SSL?

I've tested out the script directly, (manually entered the params in the location bar), and it works as expected, so I'm pretty sure it's something on the Zimbra server.

Thanks for any help that you might provide.
Reply With Quote
  #2 (permalink)  
Old 12-06-2007, 10:23 AM
Junior Member
 
Posts: 8
Default

I've played around with this a little more, and discovered some odd behavior. I decided to get rid of the SSL stuff and see what happened. It still gave me a 403 error. When I was testing this zimlet with my test server before, (when everything was working), I was using a single hostname for the external server in the allowedDomains property in the global config area of the config_template.xml file.

ie:
Code:
<property name="allowedDomains">myservershostname</property>
instead of:
Code:
<property name="allowedDomains">myservershostname.domainname.tld</property>
With or without SSL the second example gives me a 403 error. I also tried *.domainname.tld as well. This also didn't work. When using just the hostname with either external server the zimlet works properly.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.