Page 1 of 1

Roundcube error 403 forbidden

Posted: Sun Jun 14, 2015 1:54 pm
by Samanw
Hi,
I Install VestaCP everything works else
Roundcube...

i try to reach it by mydomain.com/webmail or /roundcube but it show forbidden access 403 page
anyone can help me with this problem

Re: Roundcube error 403 forbidden

Posted: Wed Sep 30, 2015 10:01 am
by jakepatrick
I have no idea how this keeps happening but it seems like it happens at random. Probably OS updates...

Here is what I use to fix it.

This is for Centos 6.6

Code: Select all

#!/bin/bash

export PATH=$PATH:/sbin
RHOST='r.vestacp.com'
CHOST='c.vestacp.com'
REPO='cmmnt'
VERSION='0.9.8/rhel'
YUM_REPO='/etc/yum.repos.d/vesta.repo'




# Roundcube configuration
wget $CHOST/$VERSION/httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf
wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
wget $CHOST/$VERSION/roundcube-driver.php -O \
    /usr/share/roundcubemail/plugins/password/drivers/vesta.php
wget $CHOST/$VERSION/roundcube-pw.conf -O \
    /usr/share/roundcubemail/plugins/password/config.inc.php
chmod a+r /etc/roundcubemail/*
r="mySuperSecretRoundCubeMySqlPassword!@#$%"

mysql -e "GRANT ALL ON roundcube.* TO roundcube@localhost IDENTIFIED BY '$r'"
sed -i "s/%password%/$r/g" /etc/roundcubemail/db.inc.php

Re: Roundcube error 403 forbidden

Posted: Wed Jan 20, 2016 7:45 pm
by earenasr
Buenas Tardes
realice la instalacion y tengo el problema que no me abre el webmail me sale el error 404.
acabo de realizar las instrucciones que estan publicadas pero tengo una duda
como puedo recuperar la contraseƱa de root del roundcube porque veo que hay que ponerla en el script
les agradezco la colaboracion

cordial saludo

earenasr


Good afternoon
Install and have the problem that when I try to open the webmail I get the error 404 .
I just realized the instructions are published but have a doubt
as I can recover the root password of roundcube because I see that you have to put it in the script
thank you for your collaboration

best regard

earenasr