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 06-29-2006, 09:17 AM
Junior Member
 
Posts: 8
Talking Tomcat SSL Configuration [SOLVED!]

Hello Zimbra people.
I got Zimbra up and running yesterday, complete with actual SSL certificates.\
The server is on a separate IP address, outside of my company's firewall.
I was wondering, how do I set up my httpd.conf so that I can do the following:I assume to do so I'd have some sort of virtual host in /opt/zimbra/conf/httpd.conf.
Any ideas?
-Dana

Last edited by dana.merrick; 06-30-2006 at 01:51 PM.. Reason: Solved! It was zmtlsctl.
Reply With Quote
  #2 (permalink)  
Old 06-29-2006, 09:23 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
Default

Hi

Welcome to the forums.

Does this page point you in the right direction?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-29-2006, 09:36 AM
Junior Member
 
Posts: 8
Red face

Quote:
Originally Posted by phoenix
Does this page point you in the right direction?
Hi Bill.
Not really. I'm not really concerned with having my Apache server do anything else, really. The httpd.conf example they use could help a little, but there they're trying to do something different.
I figure my httpd.conf file should look something like this:
(Where my Zimbra server name is "zimbra" and the network that my firewall protects is "network")
Code:
<VirtualHost *:80>
  ServerName zimbra.mydomain.com
  DocumentRoot /im/not/sure
  RewriteEngine on
  RewriteCond   [something that specifies != network]
  RewriteRule   ^/(.*)$   https://mail.mydomain.com/$1 [L,QSA] 
</VirtualHost>
Does that help you get a jumping off point?
-Dana
Reply With Quote
  #4 (permalink)  
Old 06-29-2006, 10:18 AM
Junior Member
 
Posts: 8
Default Clarification

I suppose I should clarify this by saying:
I know how to edit the Apache configuration, but where does Zimbra put them and how can I properly restart it?
Thanks in advance,
-Dana
Reply With Quote
  #5 (permalink)  
Old 06-30-2006, 08:34 AM
Junior Member
 
Posts: 8
Default

It seems I'm the only one posting here .
Here is what I have so far:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
       ServerName zimbra.mydomain.com
#     DocumentRoot /var/www/yourdomains_doc-root
   <IfModule mod_rewrite.c>
       RewriteEngine  on
       RewriteCond    %{REMOTE_HOST} !networkIP
       RewriteRule    https://zimbra.mydomain.com/$1 [L,QSA]
   </IfModule>
</VirtualHost>
It doesn't quite work. Any ideas?
Thanks in advance,
-Dana
P.S. could the solution lay in the zmtlsctl command?
Reply With Quote
  #6 (permalink)  
Old 06-30-2006, 01:49 PM
Junior Member
 
Posts: 8
Thumbs up Solved!

I got it!
It really did lie in the zmtlsctl command.
I used the above code with zmtlsctl both (NOT "mixed").
That was all.
-Dana

Last edited by dana.merrick; 06-30-2006 at 01:50 PM.. Reason: Moved the color tag to include the "both."
Reply With Quote
  #7 (permalink)  
Old 06-30-2006, 07:18 PM
Zimbra Employee
 
Posts: 515
Default

until bug 5594 gets fixed, both == mixed. have a look at ~/bin/zmtlsctl

Bug 5594 - TLS mode "both" causes redirection limit problem
http://bugzilla.zimbra.com/show_bug.cgi?id=5594


regardless, i think you've got things set up
__________________
Search the Forums - Bugzilla - Wiki - Downloads
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.