Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Craig Cabrey on January 20, 2009, 10:50:24 PM

Title: VirtualHost for GroupOffice
Post by: Craig Cabrey 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/ (https://mail.smallserve.net/) to access the it.


I found this thread (http://forums.contribs.org/index.php/topic,31130.0.html (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... (http://forums.contribs.org/Smileys/default/confused.gif)
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 <>
Title: Re: VirtualHost for GroupOffice
Post by: p-jones 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
Title: Re: VirtualHost for GroupOffice
Post by: Craig Cabrey on January 24, 2009, 02:09:29 AM
I have actually already done that. (http://forums.contribs.org/Smileys/default/surprised.gif) 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. (http://forums.contribs.org/Smileys/default/razz.gif)

Thanks,
Craig