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
  #21 (permalink)  
Old 05-11-2007, 04:40 AM
New Member
 
Posts: 4
Unhappy

Quote:
Originally Posted by dzed View Post
Everything is working

Thanks a lot Phoenix, to point me in the right/easyest direction.
Thanks also goes to Amitbapat.

If anyone need it, I past the way to do what i have done here :

I am using a Debian Sarge.


First of all, change zimbraMailPort and restart zimbra so our apache can listen on 80, do it like this :

zmprov ms zimbra.mydom.com zimbraMailPort 81
/etc/init.d/zimbra restart


Then, install your prefered apache version (1.3 / 2) and add the proxy module :

for apache 1.3 :
echo "LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so" >> /etc/apache/modules.conf
apachectl restart


for apache 2 :
ln -s /etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled/proxy.load
ln -s /etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/proxy.conf
/etc/init.d/apache2 restart


Now we can add our virtualhosts.

for apache 1.3, go into /etc/apache/conf.d/ and create/edit vhosts.conf :
[for apache 2 go into /etc/apache2/conf.d/]
NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin dz@mydom.com
DocumentRoot /var/www/myweb
ServerName myweb.mydom.com
ErrorLog /var/log/apache/myweb-error.log
CustomLog /var/log/apache/myweb-access.log common
</VirtualHost>

<VirtualHost *:80>
ServerName zimbra.mydom.com
ServerAdmin dz@mydom.com
ProxyPass / http://zimbra.mydom.com:81/
ProxyPassReverse / http://zimbra.mydom.com:81/
ErrorLog /var/log/apache/zimbra-error.log
CustomLog /var/log/apache/zimbra-access.log common
</VirtualHost>


Almost done.
Restart everythings.
Test your new hosts.
Enjoy ZIMBRA
Hello,

When I try to restart Apache (/etc/init.d/apache2 restart) I get the following error message:

Forcing reload of web server (apache2)...httpd (pid 26315) not running
(98) Address already in use: make_sock: could not bind to address [::]:81
(98) Address already in use: make_sock: could not bind to address 0.0.0.0:81
no listening sockets available, shuting down
Unable to open logs
failed!

Anyone knows what is missing?
Thanks
Reply With Quote
  #22 (permalink)  
Old 12-21-2007, 02:25 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by dijichi2 View Post
comment out zimbra entries in /etc/ld.so.conf. run 'ldconfig'. start apache. uncomment zimbra entries in ld.so.conf. run zimbra. you can do this in the apache init script. fwiw I haven't seemed to have to do this with recent zimbra releases, sure you've got latest release?
But I dont have those entries in my ld.so.conf.
Im using 5.0 RC2 Ubuntu6 release.
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.