All the mails disappeared on webmail roundcube

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
John Stanley
Posts: 0
Joined: Wed Sep 28, 2016 10:50 am

All the mails disappeared on webmail roundcube

Post by John Stanley »

Hello,

On my server hosted with above 600 domains. I am currently using mod_pagespeed caching on the server, its very helpful to speedup my websites but I just realized that my newly installed roundcube skin for webmail shows mailbox are empty.

I know it's because of pagespeed because when I turned off mod_pagespeed, it showing fine. So I need to disable mod_pagespeed only on webmail roundcube URL.

Regards
John



Aaron
Posts: 17
Joined: Mon Apr 11, 2016 8:59 am

Re: All the mails disappeared on webmail roundcube

Post by Aaron »

Hello John,

Yes, you can simply turned off mod_pagespeed for a specific URL. Either you can add entry in .htaccess file, this will disable rewriting of all HTML and resources in that directory or you can enter specific mod_pagespeed directive in pagespeed.conf


To disable mod_pagespeed via .htaccess file

<Location "/var/www/roundcube">
ModPagespeed off
</Location>

To disable mod_pagespeed with specific directive in pagespeed.conf

ModPagespeedDisallow "/var/www/roundcube"

See Google documentation for more info https://developers.google.com/speed/pag ... cting_urls

To verify mod_pagespeed module, you can use curl command to test specific domain:

# curl -D- http://example.com/ | less
===============
  • HTTP/1.1 302 Found
    Date: Sat, 12 Nov 2016 05:08:07 GMT
    Server: Apache
    X-Powered-By: PHP/5.3.29
    Set-Cookie: roundcube_sessid=9uq3amdl75hjvg106eqc4t90s3; path=/; HttpOnly
    Expires: Sat, 12 Nov 2016 05:08:07 GMT
    Cache-Control: private, no-cache, no-store, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Last-Modified: Sat, 12 Nov 2016 05:08:07 GMT
    Location: https://webmail.awork.dk/
    X-Powered-By: PleskLin
    Vary: Accept-Encoding
    Content-Length: 0
    Content-Type: text/html
============

The above result specifies no caching enabled for that URL.


Aaron N
Linux Support Engineer.
Nixtree Solutions LLP
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php

Follow us on : https://twitter.com/nixtree

Post Reply