Submitted by ovidiubica on Fri, 10/29/2010 - 05:44
Hello, I recently discovered that you ported FCGID from pro to GPL and I switched a few domains to use it. Everything was ok on the virtual servers except when I use global applications like Roundcube which is located in:
and setup in /etc/httpd/conf.d/roundcube.conf
I'm not sure how to go around this. Right now I have a single roundcube install available to each virtual domain.
How should I setup one install of roundcube global for all domains while using FCGid without having to redirect every domain to a single location where roundcube is installed.
Submitted by andreychek on Fri, 10/29/2010 - 09:54 Comment #1
Yeah, unfortunately, there's not really a simple way around that :-)
That's actually a suexec security feature though... files requested through suexec would need to exist in /home.
My suggestion for handling that would be to do the following:
Setup RoundCube in one central Virtual Server (let's call it "http://main_domain.com/roundcube")
Set webmail.anydomain.tld to redirect to http://main_domain.com/roundcube by going into System Settings -> Server Templates -> Default -> Apache Website, and putting the URL in "URL for webmail redirect".
At that point, any new Virtual Server would have that redirect setup for them. One of the big benefits there is that you can buy a single SSL certificate for main_domain.com, but all the domains on your server can take advantage of that.
Submitted by ovidiubica on Fri, 10/29/2010 - 14:13 Comment #2
That's what I was afraid of,
thanks for making it clear.