Koozali.org: home of the SME Server

VirtualHost for GroupOffice

Offline Craig Cabrey

  • ****
  • 79
  • +0/-0
VirtualHost for GroupOffice
« on: January 20, 2009, 10:50:24 PM »
Hi,

I am now using GroupOffice for webmail and feel that it is vastly superior to Horde/IMP (opinion).
I want to disable Horde (for more security) and instead use GroupOffice and the domain https://mail.smallserve.net/ to access the it.


I found this thread (http://forums.contribs.org/index.php/topic,31130.0.html) as a way to use VirtualHosts for my problem. It works except...
If I have mail.smallserve.net under the main domain in the Server Manager Panel 'Hostname and Addresses,' then in the httpd.conf file I get this in the main VirtualHost:


Code: [Select]
ServerName www.smallserve.net    

ServerAlias kbsrv1.smallserve.net mail.smallserve.net proxy.smallserve.net www.smallserve.net          ServerAlias kbsrv1.smallserve.net mail.smallserve.net proxy.smallserve.net ww.smallserve.net


(I cut out the rest of the domains so it wouldn't spill over.)

This conflicts with my custom VirtualHost as each time I enter mail.smallserve.net, the main VirtualHost wins and the Primary Ibay content is displayed.

I have temporarily worked around this by removing that hostname entry and everything works from the outside (but not from the inside).
Thank you so much,
Craig

PS Sorry for all the recent questions... Confused
PPS I don't know whats up with the forum but I can't seem to space my posts out and each time I try they just get jumbled back up together. Does HTML formatting work? EDIT: Nevermind uses [] instead of <>
« Last Edit: January 20, 2009, 11:09:25 PM by Craig Cabrey »

Offline p-jones

  • *
  • 594
  • +0/-0
Re: VirtualHost for GroupOffice
« Reply #1 on: January 24, 2009, 12:50:53 AM »
Hi

Quote
I am now using GroupOffice for webmail and feel that it is vastly superior to Horde/IMP (opinion). I want to disable Horde (for more security) and instead use GroupOffice and the domain

Is it not sufficient to go into the server-manager and disable webaccess - ie Horde ?? (from email options)

Quote
I am now using GroupOffice for webmail and feel that it is vastly superior to Horde/IMP (opinion).

I do agree with your opinion.

Peter
...

Offline Craig Cabrey

  • ****
  • 79
  • +0/-0
Re: VirtualHost for GroupOffice
« Reply #2 on: January 24, 2009, 02:09:29 AM »
I have actually already done that. Surprised It was trivial, I should not have posed that as a question, my bad.
What I really want to do was make mail.smallserve.net managed by the SME server, but each time I do that, the main virtual host (the Primary ibay) is used when one types in mail.smallserve.net. I want it to point to the GroupOffice html folder. 
As I have said before, I have managed to do this by creating a VirtualHost (through templates of course) and removing mail.smallserve.net from the server-manager and instead relying on hosts files. 
Its a work around for now, but it'll do.

If what I am asking is not clear enough, that's fine, it is kind of a hard situation to explain. Razz

Thanks,
Craig