/webmail is showing 404 error
-
- Posts: 2
- Joined: Mon Oct 04, 2021 8:47 am
- Os: Ubuntu 17x
- Web: apache + nginx
/webmail is showing 404 error
Hi guys
I am using Vesta cpanel on an Ubuntu 18.0 with PHP 7.4
I am running Apache2+nginx
I recently realized the roundcube stopped working on webmail. Then I tried to re-install the roundcube but no luck.
What I have done:
command:
then followed the installation steps.Everything ran as expected during the installation.
then I added:
/etc/apache2/sites-available/roundcube.conf
and NginX config:
located at: /etc/nginx/conf.d/webmail.inc
After all of above installation Im facing 404 error when opening the https://mydomain.com/webmail
Can you guys please help?
I am using Vesta cpanel on an Ubuntu 18.0 with PHP 7.4
I am running Apache2+nginx
I recently realized the roundcube stopped working on webmail. Then I tried to re-install the roundcube but no luck.
What I have done:
command:
Code: Select all
apt-get install roundcube
then I added:
/etc/apache2/sites-available/roundcube.conf
Code: Select all
<VirtualHost *:443>
ServerAdmin [email protected]
DocumentRoot /usr/share/roundcube
ServerName mydomain.com/webmail
<Directory /usr/share/roundcube/>
Options FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
located at: /etc/nginx/conf.d/webmail.inc
Code: Select all
location /webmail {
alias /usr/share/roundcube/;
location ~ /(config|temp|logs) {
return 404;
}
location ~ ^/webmail/(.*\.php)$ {
alias /usr/share/roundcube/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
Can you guys please help?
Re: /webmail is showing 404 error
+1 Not working after clean install on centos showing 404 error