Roundcube Community Forum

 

Virtual Hosts

Started by straygrey, February 06, 2011, 06:46:21 AM

Previous topic - Next topic

straygrey

I have roundcube working fine for me at my Debian server.
Now what I have done is setup two virtual domains on my server namely cherivebeagles.co.za and riversidemowers.co.za and they each have one user who are registered on my debian box.
Their email works fine as long as they connect via webmail.stockton.co.za but I want them to be able to logon via webmail.cherivebeagles.co.za and webmail.riversidemowers.co.za and that does not currently work.
How do I achieve this?


Trizzunkz

I have a number of virtual hosts on my server. I've set up each one to access my single roundcube installation via an Apache directory alias.
The default host (which is accessible only from the internal LAN) works perfectly.
I'm having issues with a number of plugins not functioning correctly (or not at all) when accessing roundcube from any other host.
Does anyone else have a similar set up and can offer any suggestions?

Trizzunkz

#3
--Redacted--

SKaero

What's in the error log?

Trizzunkz

I don't know why I never thought to look there, but I can see lots of lines similar this:
PHP Error: Deprecated hook name. upload_attachment -> attachment_upload in /var/www/roundcube/program/include/rcube_plugin_api.php on line 207 (GET /webmail/?_task=mail)

SKaero

That means you running old version of the plugins, I'd recommend updating them.

Trizzunkz

#7
That's interesting. Most of the plugins I use come from rosali's bundle which I thought was updated for 0.5.2

Just as a test, I've commented out the plugin section of the main.inc.php file so no custom plugins are loaded and I'm still getting the following errors:
upload_attachment -> attachment_upload
save_attachment -> attachment_save
remove_attachment -> attachment_delete
display_attachment -> attachment_display
get_attachment -> attachment_get
cleanup_attachments -> attachments_cleanup
kill_session -> session_destroy

But none of this explains why they work when accessed on the local LAN, but don't when accessed externally.

SKaero

I know the latest plugin bundle does work with 0.5.2 and doesn't return any errors so your not running the lasted code. It may not be your problem but its a good place to start, why hunt down a problem that may have already been solved?