<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="font-size: 12pt;" face="Calibri" size="3"><span style="font-size:12pt;"><span dir="ltr"><pre style="">Hi again,
 
It didn't work, i even copied you mod_rewrite block literally...but alas
On the login page Kolab logo "kolab_logo.png" is not showing 
(assets/skins/kolab/images/kolab_logo.png). What tells me that nothing under /assets can be reached.
And, indeed, when i login i'm getting "page not found"  with message "The requested URL /ee2ca4a7d546f1d8/ was not found on this server."
This what my vhost looks now:

<VirtualHost *:80>
ServerName sub.example.com
Redirect / <a target="" href="https://sub.example.com">https://sub.example.com</a>
</VirtualHost>
<VirtualHost *:443>
ServerName sub.example.com
ServerAdmin webmaster@example.com
DocumentRoot /usr/share/roundcubemail/public_html/
Alias /chwala   /usr/share/chwala/public_html
ScriptAlias /freebusy /usr/share/kolab-freebusy/public_html/index.php
<Directory "/usr/share/roundcubemail/public_html">
<ifModule mod_rewrite.c>
            RewriteEngine On
            RewriteRule ^/[a-f0-9]{16}/(.*) /$1 [PT,L]
            # Be compatible with older packages and installed plugins.
            RewriteCond %{REQUEST_URI} ^/assets/
            RewriteCond %{REQuEST_URI} !-f
            RewriteCond %{REQuEST_URI} !-d
            RewriteRule .*/assets/(.*)$ /$1 [PT,L]
</ifModule>
    Options +FollowSymLinks
    AllowOverride None
    <ifModule mod_authz_core.c>
        Require all granted
    </ifModule>
</Directory>
# CHWALA
<Directory "/usr/share/chwala/public_html/">
    AllowOverride All
    <IfModule mod_authz_core.c>
        Require all granted
    </IfModule>
</Directory>
## SSL BLOB ###
</VirtualHost>


Regards,
Nikolai</pre></span></span></font><br><br><div><hr id="stopSpelling">From: cyclinggeorgian@outlook.com<br>To: torsten@kolab.org<br>Subject: RE: Rouncube vhost configuration on apache server.þ<br>Date: Wed, 19 Nov 2014 10:10:19 +0100<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Thank you Torsten for reply... that server name ending up outside of VirtualHost was copy/paste accident :)<br>And as for "/" as rewrite base i tried that too...<br>I'm going to compare rest of the config...<br>Thank you anyway, will get back as soon as i have made progress.<br>Regards,<br>Nikolai<br><br><div>Date: Wed, 19 Nov 2014 12:00:01 +1300<br>From: torsten@kolab.org<br>To: users@lists.kolab.org<br>Subject: Re: Rouncube vhost configuration on apache  server.þ<br><br><pre>Hi Nikolai,<br> <br>I really recommend reading the Apache documentation on Vhosts as well as<br>mod_rewrite.<br> <br>But here are some observations:<br> <br>On 11/19/2014 02:02 AM, Nikolai Maziashvili wrote:<br>> <VirtualHost *:80><br>> DocumentRoot /usr/share/roundcubemail/public_html/<br> <br>Where's the server name? How should apache now for which subdomain to<br>serve this vhost?<br> <br>>     RewriteBase /roundcubemail/<br> <br>You probably just need / here.<br> <br>>     RewriteRule ^/assets/(.*)$ /roundcubemail/$2 [PT,L]<br> <br>Same here.<br> <br>I attached my own vhost config for reference.<br> <br>Kind Regards,<br>Torsten<br> <br>-- <br>Torsten Grote<br>Kolab.org Community Manager<br> <br>e: torsten@kolab.org<br>w: <a href="https://Kolab.org" target="_blank">https://Kolab.org</a><br> <br>pgp: 0x2175A534A4F2EFA3<br></pre><br>_______________________________________________
users mailing list
users@lists.kolab.org
https://lists.kolab.org/mailman/listinfo/users</div>                                        </div></div>                                        </div></body>
</html>