我刚刚把roundcube从1.3.6升级到了1.3.8。现在,对于某些js文件,它显示错误: net::ERR_ABORTED 403 (禁止)。
我已尝试允许dir。但是,不能工作
来自控制台的错误日志:
hyracorp.com/:16 GET /webmail/program/js/app.min.js?s=1540293174 net::ERR_ABORTED 403 (Forbidden)
hyracorp.com/:17 GET /webmail/program/js/jstz.min.js?s=1553508884 net::ERR_ABORTED 403 (Forbidden)
hyracorp.com/:14 GET /webmail/program/js/jquery.min.js?s=1553508884 403 (Forbidden)
hyracorp.com/:15 GET /webmail/program/js/common.min.js?s=1540293174 net::ERR_ABORTED 403 (Forbidden)
hyracorp.com/:16 GET /webmail/program/js/app.min.js?s=1540293174 net::ERR_ABORTED 403 (Forbidden)
?_task=login:17 GET /webmail/program/js/jstz.min.js?s=1553508884 net::ERR_ABORTED 403 (Forbidden)
?_task=login:38 Uncaught ReferenceError: rcube_webmail is not defined
at ?_task=login:38
(anonymous) @ ?_task=login:38
jquery-ui.min.js?s=1540293173:6 Uncaught ReferenceError: jQuery is not defined
at jquery-ui.min.js?s=1540293173:6
at jquery-ui.min.js?s=1540293173:6
(anonymous) @ jquery-ui.min.js?s=1540293173:6
(anonymous) @ jquery-ui.min.js?s=1540293173:6
?_task=login:99 Uncaught ReferenceError: jQuery is not defined
at ?_task=login:99发布于 2019-03-28 16:22:42
首先,我认为这是一个许可问题。我将权限授予用户www-data的目录。它没有解决这个问题。经过多次搜索,在圆方论坛上找到了解决方案。
By removing .htaccess files fixed the issue.
删除.htaccess文件后,如果您看到以下错误"roundcube : connection to storage server failed",请运行sudo dovecot
发布于 2019-06-04 17:55:17
如果在Apache2和别名下设置了roundcube,如下所示:
# /etc/apache2/conf.d/roundcube.conf
Alias /webmail /usr/share/roundcube或类似-确保默认虚拟主机已启用/etc/apache2/sites-enabled/000-default。
奇怪的问题,但在尝试了X个小时的不同方法后,这对我很有帮助。
发布于 2019-10-08 02:42:48
与其删除所有.htaccess文件(由@jinto-antony建议),不如在其中添加以下行注释:
#Options +SymLinksIfOwnerMatch或者修复"program“文件夹的符号链接所有者以匹配apache用户。
chown -h user:group programhttps://stackoverflow.com/questions/55391611
复制相似问题