Forum

Roundcube

bartvanlieshout
26 May 2015, 15:18


Hiawatha version: 9.13
Operating System: Raspbian

I just finished instelling roundcube, all went very well. Mailserver and database server are properly configured and running. However, as far as i understand, are the webdirs of roundcube in:
 /var/lib/roundcube/ 


this is my hiawatha.conf:
VirtualHost {
Hostname = www.bartvanlieshout.nl
WebsiteRoot = /var/www/bartvanlieshout/public
StartFile = index.php
AccessLogfile = /var/www/bartvanlieshout/log/access.log
ErrorLogfile = /var/www/bartvanlieshout/log/error.log
TimeForCGI = 5
UseFastCGI = PHP5
# UseToolkit = banshee
}


I want to use bartvanlieshout.nl/webmail as my roundcube URL. How am i gonna approuch that? I was thinking to create a webmail folder and symlink from the roundcube folder. But how can i specify the urltoolkit only for /webmail!
Hugo Leisink
26 May 2015, 15:25
A symlink will work. Simply make every URL path in the UrlToolkit start with /webmail.
UrlToolkit {
ToolkitID = roundcube
Match /webmail/(.*\.inc|^_.*) DenyAccess
Match /webmail/mail/logs/.* DenyAccess
Match /webmail/mail/temp/.* DenyAccess
Match /webmail/mail/config/.* DenyAccess
}
This topic has been closed.